-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathmain.yml
131 lines (107 loc) · 2.69 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
os: ""
pg_type: PG
pg_version: 14
pg_ssl: true
pg_instance_name: main
pg_remote_ssl_src: false
# auto_explain
install_auto_explain: true
# This parameter define if we want to run pg_initdb command on a server or not
run_initdb: true
# EFM service information
efm_version: 4.5
efm_cluster_name: "{{ pg_instance_name }}"
efm_service: "edb-efm-{{ efm_cluster_name }}-{{ efm_version }}"
# PGD specific variable
pgd_version: 5
install_pgd: false
# TDE functionality key
edb_enable_tde: false
edb_key_unwrap_cmd: ""
edb_key_wrap_cmd: ""
edb_master_key: ""
edb_secure_master_key: ""
edb_master_key_location: "/etc/edb/keyloc"
edb_master_key_plain_file: "{{ edb_master_key_location }}/master_key.plain"
edb_secure_master_key_file: "{{ edb_master_key_location }}/master_secure_key.key"
disable_logging: true
use_replication_slots: true
use_hostname: true
update_etc_file: true
# 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
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
- RedHat9
- Ubuntu20
- Ubuntu22
- Debian9
- Debian10
- Rocky8
- Rocky9
- AlmaLinux8
- OracleLinux7
supported_pg_type:
- EPAS
- PG
supported_pg_version:
- 10
- 11
- 12
- 13
- 14
- 15