d96464e9ee
TrivialFix Change-Id: I735091c4d044344361e604014f3877b608223204
12 lines
290 B
Django/Jinja
12 lines
290 B
Django/Jinja
[
|
|
{version, 1},
|
|
{nodes, [
|
|
{% 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'] }}'}}
|
|
].
|