mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 22:21:13 +03:00
Avoid pg password ending up in syslog/shell output
Currently if an error occurs the pgpassword would be exposed to syslog / shell during playbook backup.yml
This commit is contained in:
parent
5682fb1503
commit
8f36e21c97
@ -55,6 +55,7 @@
|
||||
--port={{ pg_port | default('5432') }} \
|
||||
--username='{{ pg_username }}' \
|
||||
--dbname='{{ pg_database }}'" > {{ playbook_dir }}/tower-openshift-backup-{{ now }}/tower.db
|
||||
no_log: yes
|
||||
|
||||
- name: Copy inventory into backup directory
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user