Improve rabbitmq-clusterer template code format
TrivialFix Change-Id: I735091c4d044344361e604014f3877b608223204
This commit is contained in:
parent
bed0f0f8d7
commit
d96464e9ee
@ -1,9 +1,11 @@
|
||||
[
|
||||
{version, 1},
|
||||
{nodes, [
|
||||
{% for host in groups['rabbitmq'] %} {'rabbit@{{ hostvars[host]['ansible_hostname'] }}', disc}{% if not loop.last %},{% endif %}
|
||||
|
||||
{% for host in groups['rabbitmq'] %}
|
||||
{'rabbit@{{ hostvars[host]['ansible_hostname'] }}', disc}
|
||||
{%- if not loop.last -%},{%- endif %}
|
||||
{% endfor %}
|
||||
]},
|
||||
{gospel, {node, 'rabbit@{{ hostvars[groups['rabbitmq'][0]]['ansible_hostname'] }}'}}
|
||||
{gospel,
|
||||
{node, 'rabbit@{{ hostvars[groups['rabbitmq'][0]]['ansible_hostname'] }}'}}
|
||||
].
|
||||
|
Loading…
Reference in New Issue
Block a user