2023-12-29 18:07:08 +00:00
|
|
|
{# code: language=ansible-jinja #}
|
2023-12-23 16:41:57 +00:00
|
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
# TYPE DATABASE USER ADDRESS METHOD
|
|
|
|
local all postgres peer
|
2023-12-24 23:58:55 +00:00
|
|
|
local all all scram-sha-256
|
2023-12-23 16:41:57 +00:00
|
|
|
host all all 127.0.0.1/32 scram-sha-256
|
|
|
|
host all all ::1/128 scram-sha-256
|
|
|
|
|
2024-01-09 20:36:49 +00:00
|
|
|
{% for db in postgresql_db_list|sort %}
|
2023-12-23 16:41:57 +00:00
|
|
|
host {{ db.name }} {{ db.vars.username }} {{ internal_subnet }} scram-sha-256
|
|
|
|
{% endfor %}
|