feat: add postgres support

This commit is contained in:
Clément Désiles
2025-11-10 18:24:43 +01:00
parent 2c8f49191c
commit 83b6a38999
8 changed files with 409 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
---
postgres_packages:
- postgresql
- python-psycopg2
postgres_service_name: postgresql
postgres_config_path: "{{ postgres_data_dir }}/postgresql.conf"
postgres_config_dir: "{{ postgres_data_dir }}/conf.d"
postgres_hba_path: "{{ postgres_data_dir }}/pg_hba.conf"
+10
View File
@@ -0,0 +1,10 @@
---
postgres_packages:
- postgresql
- postgresql-contrib
- python3-psycopg2
postgres_service_name: postgresql
postgres_config_path: /etc/postgresql/current/main/postgresql.conf
postgres_config_dir: /etc/postgresql/current/main/conf.d
postgres_hba_path: /etc/postgresql/current/main/pg_hba.conf