fix repos and ssl

This commit is contained in:
ace
2023-04-16 03:28:23 +03:00
parent b443059313
commit 0c9030717d
10 changed files with 44 additions and 12 deletions

View File

@ -115,9 +115,11 @@ bootstrap:
{% for host in groups.patroni %}
- host replication {{ patroni_replication_username }} {{ hostvars[host]['ansible_host'] }}/32 {{ patroni_postgresql_password_encryption_algorithm }}
{% endfor %}
- host all all 127.0.0.1/32 {{ patroni_postgresql_password_encryption_algorithm }}
- hostssl all all 127.0.0.1/32 {{ patroni_postgresql_password_encryption_algorithm }}
- hostssl all all 0.0.0.0/0 scram-sha-256
- host replication replicator 0.0.0.0/0 scram-sha-256
- host all all 0.0.0.0/0 {{ patroni_postgresql_password_encryption_algorithm }}
- hostssl all all 0.0.0.0/0 {{ patroni_postgresql_password_encryption_algorithm }}
- host replication replicator 0.0.0.0/0 {{ patroni_postgresql_password_encryption_algorithm }}
postgresql: