Do not log passwords

This prevents data to be leaked into the callback plugin.

Change-Id: I0929d73d0b08243b4d9fb6b13d35a0037230c409
This commit is contained in:
Jean-Philippe Evrard 2018-04-11 13:47:58 +02:00
parent 92146602e6
commit 0f0e414f41
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,7 @@
state: "present"
delegate_to: "{{ hostvars[groups['rabbitmq_all'][0]]['ansible_host'] }}"
when: inventory_hostname == groups['watcher_all'][0]
no_log: true
- name: Create DB for service
mysql_db:
login_user: "{{ galera_root_user }}"
@ -56,6 +57,7 @@
state: "present"
delegate_to: "{{ hostvars[groups['galera_all'][0]]['ansible_host'] }}"
when: inventory_hostname == groups['watcher_all'][0]
no_log: true
- name: Grant access to the DB for the service
mysql_user:
login_user: "{{ galera_root_user }}"
@ -71,6 +73,7 @@
- "%"
delegate_to: "{{ hostvars[groups['rabbitmq_all'][0]]['ansible_host'] }}"
when: inventory_hostname == groups['watcher_all'][0]
no_log: true
roles:
- role: "os_watcher"