forked from EnterpriseDB/edb-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
79 lines (66 loc) · 1.59 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
---
# 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
# PgBouncer listen port & address
pgbouncer_listen_port: 6432
pgbouncer_listen_addr: "*"
# Pool size and maximum number of client connections
pgbouncer_default_pool_size: 20
pgbouncer_max_client_conn: 100
# Maximum limit of file descriptors that pgbouncer can open
pgbouncer_fd_limit: 2048
# Pool mode
pgbouncer_pool_mode: "session"
# Reset query
pgbouncer_server_reset_query: "DISCARD ALL"
# PgBouncer administration & statistics users
pgbouncer_admin_users: "pgbouncer_admin"
pgbouncer_stats_users: "pgbouncer_stats"
# PgBouncer authentication part
pgbouncer_auth_type: "scram-sha-256"
# User authentication with auth_query
# pgbouncer_auth_user: "pgbouncer"
# pgbouncer_auth_query: "SELECT usename, passwd FROM pg_shadow WHERE usename = $1"
# Systemd unit file
pgbouncer_systemd_unit_file: "/etc/systemd/system/pgbouncer.service.d/pgbouncer.conf"
pgbouncer_syslog: 0
pgbouncer_syslog_ident: "pgbouncer"
# Enable SSL
pgbouncer_ssl: true
pgbouncer_ssl_csr_dn:
CN: "pgbouncer-server.fqdn"
O: ""
OU: ""
L: ""
ST: ""
C: ""
EMAIL: "[email protected]"
available_pool_mode:
- transaction
- session
- query
available_auth_type:
- pam
- hba
- cert
- md5
- scram-sha-256
- plain
- trust
- any
supported_os:
- CentOS7
- CentOS8
- RHEL7
- RHEL8
- RHEL9
- Rocky8
- Rocky9
- AlmaLinux8
- Debian10
- OracleLinux7
- Ubuntu20
- Ubuntu22