ansible-roles/postgresql/defaults/main.yml

25 lines
648 B
YAML
Raw Normal View History

2016-12-22 16:12:34 +01:00
---
# Used to create specific Munin graphs.
2016-12-22 18:18:55 +01:00
postgresql_databases: []
2016-12-22 16:12:34 +01:00
# Tuning
postgresql_shared_buffers: "{{ (ansible_memtotal_mb * 0.25) | int }}MB"
2016-12-22 18:18:55 +01:00
postgresql_work_mem: 8MB
postgresql_random_page_cost: 1.5
postgresql_effective_cache_size: "{{ (ansible_memtotal_mb * 0.5) | int }}MB"
2023-03-09 14:37:42 +01:00
postgresql_max_connections: None
# Binding
postgresql_listen_addresses:
- "127.0.0.1"
# PostgreSQL version
2020-12-07 16:24:11 +01:00
postgresql_version: ''
# Set locales
locales_default: fr_FR.UTF-8
# PostGIS
2020-03-02 20:37:35 +01:00
postgresql_install_postgis: False
apt_keyring_dir: "{{ ansible_distribution_major_version is version('12', '<') | ternary('/etc/apt/trusted.gpg.d', '/etc/apt/keyrings') }}"