ansible-role-postgresql/defaults/main.yml

37 lines
1.2 KiB
YAML
Raw Normal View History

2021-09-10 12:09:38 +00:00
---
2023-08-28 12:55:55 +00:00
postgresql_version: 15
2021-09-10 12:09:38 +00:00
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: []
postgresql_hba: []
2022-05-06 12:13:39 +00:00
postgresql_role_memberships: {}
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
cluster_name: '{{ postgresql_version }}/main'
2021-09-10 12:09:38 +00:00
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
2022-07-20 08:35:39 +00:00
postgresql_config_full: '{{ postgresql_config_default | combine(postgresql_config) }}'