diff --git a/defaults/main.yaml b/defaults/main.yaml index e2c0398..eb7a394 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -1,4 +1,4 @@ -postgresql_version: "15.6" +postgresql_version: "15.7" # Options postgresql_install_official_repo: true @@ -30,10 +30,10 @@ postgresql_wal_g_restore_config_name: ".walg-restore.json" postgresql_wal_g_pitr: 'latest' postgresql_wal_g_restore_backup_name: 'LATEST' postgresql_wal_g_binary_name: "wal-g-pg" -#postgresql_postgresql_archive_command: "wal-g wal-push %p" -#postgresql_postgresql_restore_command: "wal-g wal-fetch %f %p" -#postgresql_restore_dbs_from_backup_command: "wal-g backup-fetch {{ postgresql_wal_g_restore_backup_name }}" -#postgresql_restore_wals_from_backup_command: "wal-g wal-fetch %f %p" +#postgresql_postgresql_archive_command: "wal-g-pg wal-push %p" +#postgresql_postgresql_restore_command: "wal-g-pg wal-fetch %f %p" +#postgresql_restore_dbs_from_backup_command: "wal-g-pg backup-fetch {{ postgresql_wal_g_restore_backup_name }}" +#postgresql_restore_wals_from_backup_command: "wal-g-pg wal-fetch %f %p" postgresql_recovery_target_time: "" postgresql_promote_trigger_file: "{{ postgresql_data_dir }}/promote.trigger" diff --git a/tasks/Debian/main.yaml b/tasks/Debian/main.yaml index 5e6851e..62cb15f 100644 --- a/tasks/Debian/main.yaml +++ b/tasks/Debian/main.yaml @@ -13,7 +13,7 @@ - name: Include WAL-G role ansible.builtin.include_role: - name: wal-g + name: wal-g-pg vars: wal_g_pg: yes wal_g_pg_home_dir: "{{ postgresql_home_dir }}" diff --git a/tasks/RedHat/main.yaml b/tasks/RedHat/main.yaml index 3e68da7..6468eeb 100644 --- a/tasks/RedHat/main.yaml +++ b/tasks/RedHat/main.yaml @@ -34,7 +34,7 @@ - name: Include WAL-G role ansible.builtin.include_role: - name: wal-g + name: wal-g-pg vars: wal_g_pg: yes wal_g_pg_home_dir: "{{ postgresql_home_dir }}"