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
|
2017-05-20 00:23:21 +02:00
|
|
|
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
|
2017-05-20 00:23:21 +02:00
|
|
|
postgresql_effective_cache_size: "{{ (ansible_memtotal_mb * 0.5) | int }}MB"
|
2017-03-23 17:04:35 +01:00
|
|
|
|
2022-06-08 16:45:41 +02:00
|
|
|
# Binding
|
|
|
|
postgresql_listen_addresses:
|
|
|
|
- "127.0.0.1"
|
|
|
|
|
2017-03-23 17:04:35 +01:00
|
|
|
# PostgreSQL version
|
2020-12-07 16:24:11 +01:00
|
|
|
postgresql_version: ''
|
2019-11-14 15:56:41 +01:00
|
|
|
|
2019-12-26 16:15:31 +01:00
|
|
|
# Set locales
|
2019-11-14 15:56:41 +01:00
|
|
|
locales_default: fr_FR.UTF-8
|
2019-12-26 16:15:31 +01:00
|
|
|
|
|
|
|
# PostGIS
|
2020-03-02 20:37:35 +01:00
|
|
|
postgresql_install_postgis: False
|