34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
---
|
||
postgresql_version: 13
|
||
postgresql_use_official_repository: false
|
||
postgresql_databases: []
|
||
postgresql_users: []
|
||
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
|
||
cluster_name: '{{ postgresql_version }}/main'
|
||
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) }}'
|