Do not log passwords

This prevents data to be leaked into the callback plugin.

Change-Id: I537d17f4a88b5acac840d632b1941fd15116fd9b
This commit is contained in:
Jean-Philippe Evrard 2018-04-11 13:40:47 +02:00
parent aaf16e349f
commit 38449aa31e
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@
state: "present"
delegate_to: "{{ hostvars[groups['rabbitmq_all'][0]]['ansible_host'] }}"
when: inventory_hostname == groups['barbican_all'][0]
no_log: true
- name: Create DB for service
mysql_db:
login_user: "root"
@ -44,6 +45,7 @@
state: "present"
delegate_to: "{{ hostvars[groups['galera_all'][0]]['ansible_host'] }}"
when: inventory_hostname == groups['barbican_all'][0]
no_log: true
- name: Grant access to the DB for the service
mysql_user:
login_user: "root"
@ -59,6 +61,7 @@
- "%"
delegate_to: "{{ hostvars[groups['galera_all'][0]]['ansible_host'] }}"
when: inventory_hostname == groups['barbican_all'][0]
no_log: true
roles:
- role: "os_barbican"
vars_files: