Closed vitabaks closed 1 year ago
do not output the contents (passwords) to the ansible log for task "Configure a password"
To hide the contents in diff when using the ansible ansible.builtin.copy, set the no_log parameter to true.
ansible.builtin.copy
no_log
true
Fixed:
TASK [pgpass : Configure a password file (/var/lib/postgresql/.pgpass)] ******** --- before +++ after: /root/.ansible/tmp/ansible-local-30xva_jds2/tmpbi95bhut @@ -0,0 +1,2 @@ +localhost:5432:*:postgres:SECRET-PASSWORD +192.168.12.216:5432:*:postgres:SECRET-PASSWORD2 changed: [192.168.12.216]
do not output the contents (passwords) to the ansible log for task "Configure a password"
To hide the contents in diff when using the ansible
ansible.builtin.copy
, set theno_log
parameter totrue
.Fixed: