File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 118118
119119 # Add PostgreSQL service to PMM
120120 - name : Add PostgreSQL to PMM
121- ansible.builtin.command : >
122- pmm-admin add postgresql
123- --username={{ pmm_postgresql_user }}
124- --password={{ pmm_postgresql_password }}
125- --server-url=https://{{ pmm_server_username }}:{{ admin_password }}@{{ pmm_server_address }}
126- --server-insecure-tls
121+ ansible.builtin.shell : |
122+ pmm-admin add postgresql \
123+ --username={{ pmm_postgresql_user }} \
124+ --password={{ pmm_postgresql_password }} \
125+ --server-url=https://{{ pmm_server_username }}:{{ admin_password }}@{{ pmm_server_address }} \
126+ --server-insecure-tls \
127127 --service-name={{ inventory_hostname }}-postgresql
128- --host={{ ansible_host }}
129- --port=5432
130- --force
131128 args :
132129 executable : /bin/bash
133130 register : pmm_add_service_output
You can’t perform that action at this time.
0 commit comments