From 231cb7b2aa40cf5423f566fbc873dead8450dcf7 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 29 Jun 2021 16:47:55 -0400 Subject: [PATCH] Fix Patroni ACL to use subnet mask --- roles/pvc/templates/patroni/patroni.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/pvc/templates/patroni/patroni.yml.j2 b/roles/pvc/templates/patroni/patroni.yml.j2 index af412ec..1a13f7d 100644 --- a/roles/pvc/templates/patroni/patroni.yml.j2 +++ b/roles/pvc/templates/patroni/patroni.yml.j2 @@ -31,7 +31,7 @@ bootstrap: - local all all peer - host replication replicator 127.0.0.1/32 trust {% for node in pvc_nodes if node.is_coordinator %} - - host replication replicator {{ node.cluster_ip }} trust + - host replication replicator {{ node.cluster_ip }}/32 trust {% endfor %} - host all all 0.0.0.0/0 md5