alliance-boreale/infrastructure/ansible/roles/postgresql/templates/pg_hba.conf.j2
2026-03-09 22:20:08 -04:00

24 lines
994 B
Django/Jinja

# Alliance Boréale - PostgreSQL Client Authentication
# Generated by Ansible - DO NOT EDIT MANUALLY
# Host: {{ inventory_hostname }}
# Date: {{ ansible_date_time.iso8601 }}
# TYPE DATABASE USER ADDRESS METHOD
# Local connections
local all postgres peer
local all all peer
# IPv4 local connections
host all all 127.0.0.1/32 scram-sha-256
# IPv6 local connections
host all all ::1/128 scram-sha-256
# Internal network (if needed later)
# host all all 10.0.0.0/8 scram-sha-256
# Replication (for future use)
# local replication all peer
# host replication all 127.0.0.1/32 scram-sha-256
# host replication all ::1/128 scram-sha-256