Do not log passwords

This prevents data to be leaked into the callback plugin.

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

View File

@@ -50,6 +50,7 @@
delay: 10
delegate_to: "{{ galera_server_bootstrap_node }}"
run_once: true
no_log: True
- name: Run MySQL Upgrade
command: "/usr/bin/mysql_upgrade"

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"
- "%"