ansible-role-postgresql/templates/pg_hba.conf.j2
2018-09-13 18:57:12 +02:00

8 lines
296 B
Django/Jinja

{% for item in postgresql.allowed_hosts %}
{{ item.type | default('host') }} {{ item.database | default('all') }} {{ item.user | default('all') }} {{ item.auth | default('md5') }}
{% endfor %}
local all postgres peer
local all all peer
host all all 127.0.0.1/32 md5
host all all ::1/128 md5