---
# Used to create specific Munin graphs.
postgresql_databases: []

# Tuning
postgresql_shared_buffers: "{{ (ansible_memtotal_mb * 0.25) | int }}MB"
postgresql_work_mem: 8MB
postgresql_random_page_cost: 1.5
postgresql_effective_cache_size: "{{ (ansible_memtotal_mb * 0.5) | int }}MB"
postgresql_max_connections: None

# Binding
postgresql_listen_addresses:
  - "127.0.0.1"

# PostgreSQL version
postgresql_version: ''

# Set locales
locales_default: fr_FR.UTF-8

# PostGIS
postgresql_install_postgis: False

apt_keyring_dir: "{{ ansible_distribution_major_version is version('12', '<') | ternary('/etc/apt/trusted.gpg.d', '/etc/apt/keyrings') }}"