20 lines
756 B
Django/Jinja
20 lines
756 B
Django/Jinja
# PostgreSQL Configuration - Rick-Infra Simplified
|
|
# Generated by Ansible PostgreSQL role
|
|
# PostgreSQL's excellent defaults are used except for essentials
|
|
|
|
# Network and Security
|
|
listen_addresses = '{{ postgresql_listen_addresses }}'
|
|
port = {{ postgresql_port }}
|
|
|
|
# Unix socket configuration
|
|
unix_socket_directories = '{{ postgresql_unix_socket_directories | default("/run/postgresql") }}'
|
|
unix_socket_permissions = {{ postgresql_unix_socket_permissions | default("0777") }}
|
|
|
|
# Basic Performance (only override if needed)
|
|
max_connections = {{ postgresql_max_connections }}
|
|
shared_buffers = {{ postgresql_shared_buffers }}
|
|
|
|
# Authentication
|
|
password_encryption = {{ postgresql_auth_method }}
|
|
|
|
# Rick-Infra: PostgreSQL infrastructure role - keeping it simple |