ansible_playbooks/roles/postgres_install/templates/pg_hba.conf.j2
2026-07-21 14:37:34 +03:00

19 lines
865 B
Django/Jinja
Executable file

# PostgreSQL Client Authentication Configuration File
# Generated by Ansible
# TYPE DATABASE USER ADDRESS METHOD
# Local connections
local all all scram-sha-256
host all all 127.0.0.1/32 scram-sha-256
host all all ::1/128 scram-sha-256
{% for host in postgres_install_allowed_hosts %}
host all all {{ host }} scram-sha-256
{% endfor %}
# IPv4 local connections:
host replication all 127.0.0.1/32 scram-sha-256
host replication all ::1/128 scram-sha-256
host waf_info install 10.100.10.0/24 md5
host waf_info install 10.100.13.0/24 md5