use postgresql_home_dir

This commit is contained in:
ace
2023-02-21 16:14:02 +03:00
parent 98b48a3566
commit 9207b91282
7 changed files with 15 additions and 13 deletions

View File

@ -20,6 +20,7 @@ postgresql_wal_g_config_name: ".walg.json"
postgresql_wal_g_restore_config_name: ".walg-restore.json"
postgresql_wal_g_binary_name: "wal-g-pg"
postgresql_wal_g_postgresql_pitr: "LATEST"
postgresql_recovery_target_time: ""
postgresql_promote_trigger_file: "{{ postgresql_data_dir }}/promote.trigger"
postgresql_password_encryption_algorithm: "scram-sha-256"
@ -54,12 +55,13 @@ postgresql_default_parameters:
lc_time: '{{ postgresql_system_locale | default("en_US.UTF-8") }}'
default_text_search_config: 'pg_catalog.english'
password_encryption: '{{ postgresql_password_encryption_algorithm }}'
hot_standby: 'off'
promote_trigger_file: '{{ postgresql_promote_trigger_file }}'
postgresql_backup_parameters:
archive_command: "{{ postgresql_archive_command | default('cd .')}}"
restore_command: "{{ postgresql_restore_command | default('cd .') }}"
archive_mode: on
archive_mode: "{{ postgresql_archive_mode | default('on') }}"
postgresql_log_dir: "/var/log/postgresql"