Skip to content

Commit

Permalink
Fix wrong indentation in ansible template
Browse files Browse the repository at this point in the history
  • Loading branch information
iknite committed Feb 28, 2019
1 parent b3a5ceb commit f49efdf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/aws/provision/templates/qed-config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f49efdf

Please sign in to comment.