-
Notifications
You must be signed in to change notification settings - Fork 51
/
main.yml
84 lines (72 loc) · 1.53 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
77
78
79
80
81
82
83
84
---
use_hostname: true
etc_hosts_lists: []
update_etc_file: true
# Default configuration values
pgpool2_port: 9999
pgpool2_listen_addresses: '*'
pgpool2_pcp_port: 9898
pgpool2_wd_port: 9000
pgpool2_wd_heartbeat_port: 9694
use_patroni: false
pg_instance_name: main
# Default user to login from pgpool
pg_pgpool_database: "postgres"
pg_pgpool_user: "pgpool"
pg_pgpool_user_password: ""
input_password: ""
# pcp admin user
pcp_admin_user: "pcpadmin"
pcp_admin_user_password: ""
# Disable logging
disable_logging: false
pgpool2_vip: ""
pgpool2_vip_dev: ""
pgpool2_watchdog: false
# Enable load balancing
pgpool2_load_balancing: true
# Postgres user that pgpool2 will use to check Postgres nodes roles in load
# balance mode
pgpool2_sr_check_user: "pgpool2"
# If empty or not defined, a random password will be generated
pgpool2_sr_check_password: ""
# Enable SSL
pgpool2_ssl: true
pgpool2_ssl_csr_dn:
CN: "pgpool-server.fqdn"
O: ""
OU: ""
L: ""
ST: ""
C: ""
EMAIL: "[email protected]"
pgpool2_service_users: []
pgpool2_backend_flag: "ALLOW_TO_FAILOVER"
# setting validate_only to true allows you to validate setup on an existing node
# use_validation flag applies to deployment configuration and validation after setup
validate_only: false
use_validation: true
remove_only: false
supported_os:
- CentOS7
- CentOS8
- RHEL7
- RHEL8
- RHEL9
- Rocky8
- Rocky9
- AlmaLinux8
- OracleLinux7
- Ubuntu20
- Ubuntu22
- Debian10
supported_pg_version:
- 10
- 11
- 12
- 13
- 14
- 15
supported_pgpool2_version:
- 4.3
- 4.4