Skip to content

Commit 0597a51

Browse files
committed
PMM-7: Change pmm client setup
1 parent d068c8a commit 0597a51

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pmm_psmdb_diffauth_setup/test-auth.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ EOF
5555
echo "PMM Server IP is: $PMM_SERVER_IP"
5656
echo "PMM Client version is: $PMM_CLIENT_VERSION"
5757
echo "Admin Password is: $ADMIN_PASSWORD"
58-
ansible_out=$(ansible-playbook install_pmm_client.yml -i localhost, --connection=local -e "container_name=psmdb-server pmm_server_ip=$PMM_SERVER_IP client_version=$PMM_CLIENT_VERSION admin_password=$ADMIN_PASSWORD" 2>&1)
58+
ansible_out=$(ansible-playbook install_pmm_client.yml -i localhost -vv --connection=local -e "container_name=psmdb-server pmm_server_ip=$PMM_SERVER_IP client_version=$PMM_CLIENT_VERSION admin_password=$ADMIN_PASSWORD" 2>&1)
5959

6060
if [ $? -ne 0 ]; then
6161
echo "Ansible failed for: psmdb-server"

pmm_qa/tasks/install_pmm_client.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
pmm_server_ip: "pmm-server"
44
when: pmm_server_ip | default('') == ''
55

6+
- name: "Log PMM Server IP"
7+
debug:
8+
msg: "{{ pmm_server_ip }} is pmm server IP"
9+
610
- name: Get PMM server address
711
shell: 'docker ps -f name=-server --format "{{ "{{" }}.Names{{ "}}" }}"'
812
register: pmm_server_ip_output

0 commit comments

Comments
 (0)