ansible/roles/postgresql_server/templates/postgresql/pg_hba.conf.j2

8 lines
315 B
Text
Raw Permalink Normal View History

2021-03-10 15:59:21 +01:00
{{ ansible_managed | comment }}
2021-03-10 12:01:32 +01:00
2021-03-10 15:59:21 +01:00
# TYPE DATABASE USER ADDRESS METHOD
local all postgres peer map=map_local
2021-03-10 15:59:21 +01:00
{% for host in postgresql_hosts %}
host "{{ host.database }}" "{{ host.user }}" {{ host.net }} {{ host.method }}
2021-03-10 12:01:32 +01:00
{% endfor %}