fix: add quotes for PGPASSWORD in upgrade_postgres.yml (fixes #1166) (#1167)

This commit is contained in:
kurokobo
2023-01-19 01:59:03 +09:00
committed by GitHub
parent 43f98eda77
commit b1a547d2a6

View File

@@ -93,7 +93,7 @@
command: |
bash -c """
set -e -o pipefail
PGPASSWORD={{ awx_postgres_pass }} {{ pgdump }} | PGPASSWORD={{ awx_postgres_pass }} {{ pg_restore }}
PGPASSWORD='{{ awx_postgres_pass }}' {{ pgdump }} | PGPASSWORD='{{ awx_postgres_pass }}' {{ pg_restore }}
echo 'Successful'
"""
no_log: "{{ no_log }}"