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

8 lines
327 B
Text
Raw 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-11-28 11:07:13 +01:00
{% for host in postgresql.hosts | default([]) %}
2021-03-10 15:59:21 +01:00
host "{{ host.database }}" "{{ host.user }}" {{ host.net }} {{ host.method }}
2021-03-10 12:01:32 +01:00
{% endfor %}