forked from EnterpriseDB/edb-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
102 lines (84 loc) · 1.93 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
os: ""
pg_type: PG
pg_version: 14
pg_ssl: true
pg_instance_name: main
pg_remote_ssl_src: false
# EFM service information
efm_version: 4.5
efm_cluster_name: "{{ pg_instance_name }}"
efm_service: "edb-efm-{{ efm_cluster_name }}-{{ efm_version }}"
disable_logging: true
use_replication_slots: true
use_hostname: true
update_etc_file: true
enable_core_dump: false
pass_dir: "~/.edb"
pg_wal: ""
pg_local_wal_archive_dir: ""
pg_data: "/var/lib/pgsql/{{ pg_version }}/data"
pg_default_data: "/var/lib/pgsql/{{ pg_version }}/data"
edb_audit_directory: ""
pg_encoding: ""
# log directory and filename
pg_log: "/var/log/postgres"
pg_log_filename: "postgresql-%a.log"
# postgres service
pg_service: "postgresql-{{ pg_version }}"
# required & optional directories
pg_user_home: "/var/lib/pgsql"
pg_bin_path: "/usr/pgsql-{{ pg_version }}/bin"
pg_initdb: "{{ pg_bin_path }}/postgresql-{{ pg_version }}-setup initdb"
pg_initdb_options: "-k --encoding=UTF-8 --locale=en_US.UTF-8"
# unix socket domain directories
pg_unix_socket_directories:
- "/var/run/postgresql"
# initial configuration for starting postgres
# example:
# pg_init_conf_params:
# - name: "edb_filter_log.redact_password_commands"
# value: "true"
pg_init_conf_params: []
# postgres port
pg_port: 5432
# postgres database
pg_database: "postgres"
# postgres user
pg_owner: "postgres"
pg_group: "postgres"
# postgres superuser
pg_superuser: "postgres"
pg_superuser_password: ""
pg_random_password: true
# Local path to SSL server key and certificate to be sent to the server
# if empty, they are generated
pg_ssl_key_file: ""
pg_ssl_cert_file: ""
pg_ssl_ca_file: ""
pg_ssl_crl_file: ""
# Input variables
input_user: ""
input_password: ""
etc_hosts_lists: []
supported_os:
- CentOS7
- CentOS8
- RedHat7
- RedHat8
- Ubuntu20
- Debian9
- Debian10
- Rocky8
- AlmaLinux8
- OracleLinux7
supported_pg_type:
- EPAS
- PG
supported_pg_version:
- 10
- 11
- 12
- 13
- 14
- 15