feat(postgresql): add ansible role for postgresql deployment

This commit is contained in:
2024-11-14 18:38:38 +01:00
parent bff5cce7e9
commit 6f70e8c2bf
17 changed files with 529 additions and 0 deletions

View File

@ -0,0 +1,17 @@
---
postgresql_config_connect_socket: true
postgresql_config_unix_socket_directories:
- "/var/run/postgresql"
postgresql_config_listen_addresses:
- '*'
postgresql_config_port: 5432
postgresql_base_config:
listen_addresses: "{{ postgresql_config_listen_addresses }}"
unix_socket_directories: "{{ postgresql_config_unix_socket_directories }}"
port: "{{ postgresql_config_port }}"
postgresql_merged_config: >-2
{{ postgresql_base_config | combine(
postgresql_config | default({}, true),
recursive=True
) }}