forked from EnterpriseDB/edb-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PG_Debian.yml
33 lines (27 loc) · 1.12 KB
/
PG_Debian.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
---
pg_data: "/var/lib/postgresql/{{ pg_version }}/{{ pg_instance_name }}"
pg_default_data: "/var/lib/postgresql/{{ pg_version }}/{{ pg_instance_name }}"
pg_log: "/var/log/postgres"
pg_deb_drop_cluster: "/usr/bin/pg_dropcluster"
pg_wal: ""
pg_log_filename: "{{ pg_instance_name }}-postgresql-%a.log"
primary_host_name: ""
pg_owner: "postgres"
pg_group: "postgres"
pg_ssl: true
pg_port: "5432"
pg_replication_user: "repuser"
pg_replication_user_password: ""
synchronous_standby_names: ""
random_string: ""
pg_database: "postgres"
pg_service: "postgresql@{{ pg_version }}-{{ pg_instance_name }}"
pg_user_home: "/var/lib/postgresql"
pg_bin_path: "/usr/lib/postgresql/{{ pg_version }}/bin"
pg_basebackup: "{{ pg_bin_path }}/pg_basebackup -Fp -R -l standby --checkpoint=fast --wal-method=stream"
pg_basebackup_options: ""
pg_initdb_options: "-k -A scram-sha-256 --encoding=UTF-8 --locale=C.UTF-8 --auth-local=peer"
pg_initdb: "/usr/bin/pg_createcluster -s {{ pg_unix_socket_directories[0] }} {{ pg_version }} {{ pg_instance_name }} -- ${PGSETUP_INITDB_OPTIONS}"
# unix socket domain directories
pg_unix_socket_directories:
- "/var/run/postgresql"