Do not log passwords
This prevents data to be leaked into the callback plugin. Change-Id: I6d16cbcf5184d3e8f5b7b7737b5c331c93a1b65c
This commit is contained in:
@@ -50,6 +50,7 @@
|
|||||||
delay: 10
|
delay: 10
|
||||||
delegate_to: "{{ galera_server_bootstrap_node }}"
|
delegate_to: "{{ galera_server_bootstrap_node }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
no_log: True
|
||||||
|
|
||||||
- name: Run MySQL Upgrade
|
- name: Run MySQL Upgrade
|
||||||
command: "/usr/bin/mysql_upgrade"
|
command: "/usr/bin/mysql_upgrade"
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
--silent \
|
--silent \
|
||||||
--skip-column-names
|
--skip-column-names
|
||||||
register: wsrep_incoming_addresses
|
register: wsrep_incoming_addresses
|
||||||
|
no_log: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
@@ -36,6 +37,7 @@
|
|||||||
-e "show status like 'wsrep_local_state_comment';" \
|
-e "show status like 'wsrep_local_state_comment';" \
|
||||||
--silent \
|
--silent \
|
||||||
--skip-column-names
|
--skip-column-names
|
||||||
|
no_log: true
|
||||||
register: wsrep_local_state_comment
|
register: wsrep_local_state_comment
|
||||||
changed_when: false
|
changed_when: false
|
||||||
tags:
|
tags:
|
||||||
@@ -48,6 +50,7 @@
|
|||||||
--silent \
|
--silent \
|
||||||
--skip-column-names
|
--skip-column-names
|
||||||
register: wsrep_evs_state
|
register: wsrep_evs_state
|
||||||
|
no_log: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
@@ -67,6 +70,7 @@
|
|||||||
name: "OSA-test"
|
name: "OSA-test"
|
||||||
state: "present"
|
state: "present"
|
||||||
when: ansible_host == '10.1.0.2'
|
when: ansible_host == '10.1.0.2'
|
||||||
|
no_log: true
|
||||||
- name: Grant access to the DB on 10.1.0.3
|
- name: Grant access to the DB on 10.1.0.3
|
||||||
mysql_user:
|
mysql_user:
|
||||||
login_user: "{{ galera_root_user }}"
|
login_user: "{{ galera_root_user }}"
|
||||||
@@ -77,6 +81,7 @@
|
|||||||
host: "{{ item }}"
|
host: "{{ item }}"
|
||||||
state: "present"
|
state: "present"
|
||||||
priv: "OSA-test.*:ALL"
|
priv: "OSA-test.*:ALL"
|
||||||
|
no_log: true
|
||||||
with_items:
|
with_items:
|
||||||
- "localhost"
|
- "localhost"
|
||||||
- "%"
|
- "%"
|
||||||
|
|||||||
Reference in New Issue
Block a user