2018-10-17 20:19:04 +00:00
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
# PostgreSQL Client Authentication Configuration File
|
|
|
|
# ===================================================
|
|
|
|
#
|
|
|
|
# See: https://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html
|
|
|
|
|
|
|
|
# TYPE DATABASE USER ADDRESS METHOD
|
2018-10-18 20:59:39 +00:00
|
|
|
{% for client in postgres_hba_entries %}
|
2018-10-17 20:19:04 +00:00
|
|
|
{{ client.type }} {{ client.database }} {{ client.user }} {{ client.address|default('') }} {{ client.ip_address|default('') }} {{ client.ip_mask|default('') }} {{ client.auth_method }} {{ client.auth_options|default("") }}
|
|
|
|
{% endfor %}
|