Skip to content

Commit 0a6296d

Browse files
committed
PMM-7: Change pmm client setup
1 parent 7e33dae commit 0a6296d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pmm_qa/tasks/install_pmm_client.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213
when: random_node_name_suffix is not defined
214214

215215
- name: Connect pmm client to pmm server using metrics mode
216+
shell: >
216217
docker exec -u root {{ container_name }} env PMM_AGENT_SETUP_NODE_NAME="{{ container_name }}_{{ random_node_name_suffix }}" pmm-agent setup --config-file=/usr/local/percona/pmm/config/pmm-agent.yaml --server-address={{ pmm_server_ip }}:{{ pmm_server_port }} --server-insecure-tls --metrics-mode={{ metrics_mode }} --server-username=admin --server-password={{ admin_password }} {{ container_name }}_{{ random_node_name_suffix }}
217218
when: metrics_mode | length > 0
218219

0 commit comments

Comments
 (0)