From f49efdf57d9289bc7dad8872c19ef574b0234cdb Mon Sep 17 00:00:00 2001 From: iknite Date: Thu, 28 Feb 2019 15:19:01 +0100 Subject: [PATCH] Fix wrong indentation in ansible template --- deploy/aws/provision/templates/qed-config.yml.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/aws/provision/templates/qed-config.yml.j2 b/deploy/aws/provision/templates/qed-config.yml.j2 index e74c84e28..89f25ac3d 100644 --- a/deploy/aws/provision/templates/qed-config.yml.j2 +++ b/deploy/aws/provision/templates/qed-config.yml.j2 @@ -24,14 +24,14 @@ server: mgmt: ":8700" raft: "{{ ansible_eth0.ipv4.address }}:8500" gossip: "{{ ansible_eth0.ipv4.address }}:8400" - {% if groups.role_qed.index(inventory_hostname) != 0 %} +{% if groups.role_qed.index(inventory_hostname) != 0 %} raft_join: - {% for host in groups['name_qed-0'] %} +{% for host in groups['name_qed-0'] %} - "{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:8700" gossip_join: - "{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:8400" - {% endfor %} - {% endif %} +{% endfor %} +{% endif %} {% endif %} {% if 'role_monitor' in group_names %} agent: