From 577c78d442138000a71d4665c0d5913c758b860a Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 8 Dec 2024 08:50:06 +0100 Subject: [PATCH] fix: increase posgress keep wal in case of node down --- ansible/group_vars/database/database | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ansible/group_vars/database/database b/ansible/group_vars/database/database index e690085..5da9378 100644 --- a/ansible/group_vars/database/database +++ b/ansible/group_vars/database/database @@ -36,3 +36,11 @@ postgresql_hba_entries: - {type: host, database: all, user: all, address: '::1/128', auth_method: md5} - {type: host, database: all, user: all, address: '::0/128', auth_method: md5} - {type: host, database: all, user: all, address: '0.0.0.0/0', auth_method: md5} + +postgresql_global_config_options: + - option: unix_socket_directories + value: '{{ postgresql_unix_socket_directories | join(",") }}' + - option: listen_addresses + value: '*' + - option: wal_keep_size + value: 200