aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/postgres/vars
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2024-05-16 21:50:53 +0200
committerGravatar shtlrs <[email protected]>2024-05-16 22:28:04 +0200
commitf7f5e4d2e8c1ee8da129ec79c9a4c651907c35f0 (patch)
tree1107030c63301753a3e5250a9434f122959c5aaf /ansible/roles/postgres/vars
parentAdd a postgresql.conf file template (diff)
configure hba rules separately
Diffstat (limited to 'ansible/roles/postgres/vars')
-rw-r--r--ansible/roles/postgres/vars/main/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/roles/postgres/vars/main/main.yml b/ansible/roles/postgres/vars/main/main.yml
index f532863..3df9432 100644
--- a/ansible/roles/postgres/vars/main/main.yml
+++ b/ansible/roles/postgres/vars/main/main.yml
@@ -13,6 +13,20 @@ postgres_users:
- pg_read_all_data
+postgres_hba_rules:
+ - conn_type: host
+ database: pinnwand
+ user: pinnwand
+ address: all
+ method: scram-sha-256
+
+ - conn_type: host
+ database: all
+ user: blackbox
+ address: all
+ method: scram-sha-256
+
+
postgres_databases:
- name: pinnwand
owner: pinnwand