TOSIT-IO / tdp-collection-prerequisites

Ansible collection with TDP prerequisites
Apache License 2.0
3 stars 10 forks source link

Role "postgresql" : improve configuration for "pg_hba" lines' order #51

Closed kpgtek closed 1 year ago

kpgtek commented 1 year ago

Generally, according to the PostgreSQL best practices to configure the pg_hba.conf file, the first lines are for local connexions, and the last lines are for replication connexions. And between both, there are host connexions.

For our case, we would need to fix the variable postgresql_hba_entries value: