Closed chuegel closed 1 year ago
In fact, this configuration section is accessible only during initdb and then we configure the pghba file using ansible.
But I agree with you that it is necessary to define a variable here. feel free to create a PR or I'll do it myself a little later.
First of all thank you for this awesome playbook.
We successfully deployed patroni to a 3 node test cluster and noticed that in the
/etc/patroni/patroni.yml
file the pg_hba section is referencingmd5
as auth type. The file is created fromroles/patroni/templates/patroni.yml.j2
shouldn't this use the auth method defined in vars/main.yml
postgresql_password_encryption_algorithm
?like