mirror of
https://github.com/ansible/awx.git
synced 2026-01-31 17:18:59 -03:30
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user