ansible/roles/postgresql_server/templates/postgresql/pg_hba.conf.j2
Jeltz e2b1f8eae5
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Allow root to connect using peer authentication
2021-04-11 22:08:11 +02:00

7 lines
315 B
Django/Jinja

{{ ansible_managed | comment }}
# TYPE DATABASE USER ADDRESS METHOD
local all postgres peer map=map_local
{% for host in postgresql_hosts %}
host "{{ host.database }}" "{{ host.user }}" {{ host.net }} {{ host.method }}
{% endfor %}