1
0
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:
Klaas Demter 2019-02-15 16:15:33 +01:00 committed by GitHub
parent 5682fb1503
commit 8f36e21c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: