2021-09-10 12:09:38 +00:00
|
|
|
---
|
|
|
|
postgresql_version: 13
|
|
|
|
postgresql_use_official_repository: false
|
2021-09-11 12:38:26 +00:00
|
|
|
postgresql_primary: false
|
2021-09-10 12:09:38 +00:00
|
|
|
postgresql_databases: []
|
|
|
|
postgresql_users: []
|
2021-10-12 12:50:55 +00:00
|
|
|
postgresql_hba: []
|
2021-09-10 12:09:38 +00:00
|
|
|
postgresql_config: {}
|
|
|
|
postgresql_config_default:
|
|
|
|
data_directory: '/var/lib/postgresql/{{ postgresql_version }}/main'
|
|
|
|
hba_file: '/etc/postgresql/{{ postgresql_version }}/main/pg_hba.conf'
|
|
|
|
ident_file: '/etc/postgresql/{{ postgresql_version }}/main/pg_ident.conf'
|
|
|
|
external_pid_file: '/var/run/postgresql/{{ postgresql_version }}-main.pid'
|
|
|
|
port: 5432
|
|
|
|
max_connections: 100
|
|
|
|
unix_socket_directories: /var/run/postgresql
|
|
|
|
ssl: true
|
|
|
|
ssl_cert_file: /etc/ssl/certs/ssl-cert-snakeoil.pem
|
|
|
|
ssl_key_file: /etc/ssl/private/ssl-cert-snakeoil.key
|
|
|
|
shared_buffers: 128MB
|
|
|
|
dynamic_shared_memory_type: posix
|
|
|
|
max_wal_size: 1GB
|
|
|
|
min_wal_size: 80MB
|
|
|
|
log_line_prefix: '%m [%p] %q%u@%d'
|
|
|
|
log_timezone: Etc/UTC
|
2021-10-12 12:50:55 +00:00
|
|
|
cluster_name: '{{ postgresql_version }}/main'
|
2021-09-10 12:09:38 +00:00
|
|
|
stats_temp_directory: '/var/run/postgresql/{{ postgresql_version }}-main.pg_stat_tmp'
|
|
|
|
datestyle: iso, mdy
|
|
|
|
timezone: Etc/UTC
|
|
|
|
lc_messages: C.UTF-8
|
|
|
|
lc_monetary: C.UTF-8
|
|
|
|
lc_numeric: C.UTF-8
|
|
|
|
lc_time: C.UTF-8
|
|
|
|
default_text_search_config: pg_catalog.english
|
|
|
|
include_dir: conf.d
|
|
|
|
postgresql_config_full: '{{ postgresql_config_default|combine(postgresql_config) }}'
|