forked from EnterpriseDB/edb-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
76 lines (59 loc) · 1.56 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
# pgBackRest RPM package name
pgbackrest_package_name: "pgbackrest"
# pgBackRest system user and group
pgbackrest_user: "pgbackrest"
pgbackrest_group: "pgbackrest"
pgbackrest_home: "/var/lib/pgbackrest"
# pgBackRest configuration file
pgbackrest_configuration_file: "/etc/pgbackrest.conf"
# pgBackRest lock path
pgbackrest_lock_path: "/var/run/pgbackrest"
# pgBackRest logging information
pgbackrest_log_file: "/var/log/pgbackrest/pgbackrest.log"
pgbackrest_log_level_file: "debug"
pgbackrest_log_level_console: "info"
# pgBackRest archive and backup repository
archive_repo_directory: "/var/lib/pgbackrest/backups"
repo_retention_full_type: "count"
repo_retention_full: 2
# pgBackRest repository cipher
repo_cipher_type: "aes-256-cbc"
repo_cipher_password: ""
# backup from standby node
# backup_standby setting in pgbackrest.conf can only be changed to "y" after initial backup is completed
backup_standby: "n"
# number of parallel processes to be used during backup and recovery
process_max: 1
# restore backups using checksums or timestamps
delta: "n"
# primary node configuration file location
primary_pgbr_config_file: "/etc/pgbackrest.conf"
# postgres instance name
pg_instance_name: "main"
etc_hosts_lists: []
use_hostname: true
update_etc_file: true
supported_os:
- CentOS7
- CentOS8
- RHEL7
- RHEL8
- Rocky8
- AlmaLinux8
- Debian10
- Ubuntu20
supported_log_level:
- 'off'
- 'error'
- 'warn'
- 'info'
- 'detail'
- 'debug'
- 'trace'
supported_repo_cipher_type:
- aes-256-cbc
- none
supported_repo_retention_type:
- count
- time