forked from EnterpriseDB/edb-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EPAS_RedHat.yml
44 lines (36 loc) · 1.18 KB
/
EPAS_RedHat.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
---
pg_wal: ""
pg_data: "/var/lib/edb/as{{ pg_version }}/{{ pg_instance_name }}/data"
pg_default_data: "/var/lib/edb/as{{ pg_version }}/{{ pg_instance_name }}/data"
pg_encoding: ""
# log directory and filename
pg_log: "/var/log/edb"
pg_log_filename: "{{ pg_instance_name }}-edb-%a.log"
# postgres service
pg_service: "{{ lookup('edb_devops.edb_postgres.pg_service') }}"
pg_systemd_global_unit_file: "/usr/lib/systemd/system/edb-as-{{ pg_version }}.service"
# required & optional directories
pg_user_home: "/var/lib/edb"
pg_bin_path: "/usr/edb/as{{ pg_version }}/bin"
pg_initdb: "{{ pg_bin_path }}/edb-as-{{ 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/edb/as{{ pg_version }}"
# postgres port
pg_port: 5444
# postgres database
pg_database: "postgres"
# postgres user
pg_owner: "enterprisedb"
pg_group: "enterprisedb"
# postgres superuser
pg_superuser: "enterprisedb"
pg_shared_libraries_list:
- "$libdir/dbms_pipe"
- "$libdir/edb_gen"
- "$libdir/dbms_aq"
- "$libdir/edb_wait_states"
- "$libdir/sql-profiler"
- "$libdir/index_advisor"
- "$libdir/pg_stat_statements"