Merge pull request #980 from sdktr/958_pgdump_command_customization

Fix 958: allow pg_dump backup command customization
This commit is contained in:
Shane McDonald
2022-07-11 19:30:30 -04:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -19,3 +19,6 @@ clean_backup_on_delete: false
# Variable to signal that this role is being run as a finalizer
finalizer_run: false
# Allow additional parameters to be added to the pg_dump backup command
pg_dump_suffix: ''

View File

@@ -91,6 +91,7 @@
-d {{ awx_postgres_database }}
-p {{ awx_postgres_port }}
-F custom
{{ pg_dump_suffix }}
no_log: "{{ no_log }}"
- name: Write pg_dump to backup on PVC