From e98649c4174871a39a03b4a38f695514a9ee9cfa Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 8 Jul 2019 16:59:12 -0400 Subject: [PATCH] Add quote around ZK nodes in Patroni --- 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 86d8089..98e631f 100644 --- a/roles/pvc/templates/patroni/patroni.yml.j2 +++ b/roles/pvc/templates/patroni/patroni.yml.j2 @@ -7,7 +7,7 @@ restapi: connect_address: '{{ ansible_hostname }}.{{ pvc_cluster_domain }}:8008' zookeeper: - hosts: [ {% for node in pvc_nodes if node.is_coordinator %}{{ node.hostname }}.{{ pvc_cluster_domain }}:2181,{% endfor %} ] + hosts: [ {% for node in pvc_nodes if node.is_coordinator %}"{{ node.hostname }}.{{ pvc_cluster_domain }}:2181",{% endfor %} ] bootstrap: dcs: