Do not log passwords

This prevents data to be leaked into the callback plugin.

Change-Id: I6d16cbcf5184d3e8f5b7b7737b5c331c93a1b65c
(cherry picked from commit d61d06ddfe)
This commit is contained in:
Jean-Philippe Evrard 2018-04-11 13:33:39 +02:00
parent fabfbd99a2
commit a57a557487
2 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,7 @@
state: present
register: galera_users
until: galera_users | success
no_log: True
retries: 10
delay: 3
tags:

View File

@ -26,6 +26,7 @@
--silent \
--skip-column-names
register: wsrep_incoming_addresses
no_log: true
changed_when: false
tags:
- skip_ansible_lint
@ -36,6 +37,7 @@
-e "show status like 'wsrep_local_state_comment';" \
--silent \
--skip-column-names
no_log: true
register: wsrep_local_state_comment
changed_when: false
tags:
@ -48,6 +50,7 @@
--silent \
--skip-column-names
register: wsrep_evs_state
no_log: true
changed_when: false
tags:
- skip_ansible_lint
@ -67,6 +70,7 @@
name: "OSA-test"
state: "present"
when: ansible_host == '10.1.0.2'
no_log: true
- name: Grant access to the DB on 10.1.0.3
mysql_user:
login_user: "{{ galera_root_user }}"
@ -77,6 +81,7 @@
host: "{{ item }}"
state: "present"
priv: "OSA-test.*:ALL"
no_log: true
with_items:
- "localhost"
- "%"