mirror of
https://gitea.0xace.cc/ansible-galaxy/wal-g.git
synced 2025-07-03 18:33:09 +00:00
additional restore config support
This commit is contained in:
@ -1,14 +1,16 @@
|
||||
wal_g_version: "2.0.1-3.el{{ ansible_distribution_major_version }}"
|
||||
|
||||
wal_g_pg: no
|
||||
wal_g_pg_home_dir: "/var/lib/pgsql"
|
||||
wal_g_pg: false
|
||||
wal_g_restore: false
|
||||
wal_g_config_name: ".walg.json"
|
||||
wal_g_restore_config_name: ".walg-restore.json"
|
||||
wal_g_pg_binary_name: "wal-g-pg"
|
||||
wal_g_pg_config_owner: "postgres"
|
||||
wal_g_pg_config_group: "postgres"
|
||||
wal_g_pg_backup_owner: "postgres"
|
||||
wal_g_pg_backup_group: "postgres"
|
||||
wal_g_pg_package_name_regex: 'postgresql.*server'
|
||||
wal_g_postgresql_major_version: "14"
|
||||
wal_g_pg_package_name_regex: "postgresql.*server"
|
||||
wal_g_postgresql_major_version: "15"
|
||||
|
||||
wal_g_backup_schedule: ""
|
||||
wal_g_backup_retention_schedule: ""
|
||||
@ -22,7 +24,13 @@ wal_g_default_config: # more options see https://github.com/wal-g/wal-g#configu
|
||||
# WALG_S3_PREFIX: "s3://bucket"
|
||||
# AWS_S3_FORCE_PATH_STYLE: "true"
|
||||
WALG_COMPRESSION_METHOD: "brotli"
|
||||
PGDATA: "/var/lib/pgsql/{{ wal_g_postgresql_major_version }}/data"
|
||||
PGDATA: "{{ wal_g_pg_data_dir }}"
|
||||
PGHOST: "/var/run/postgresql"
|
||||
# WALG_LIBSODIUM_KEY: "d82560ddab2b096c56ea8c6573dfdf29de8cd6f2bb5e672d1d3b5a89749b8cbd"
|
||||
WALG_LIBSODIUM_KEY_TRANSFORM: "hex"
|
||||
|
||||
wal_g_default_restore_config:
|
||||
WALG_COMPRESSION_METHOD: "brotli"
|
||||
PGDATA: "{{ wal_g_pg_data_dir }}"
|
||||
PGHOST: "/var/run/postgresql"
|
||||
WALG_LIBSODIUM_KEY_TRANSFORM: "hex"
|
||||
|
Reference in New Issue
Block a user