04992a3de0
Change-Id: I46db4d3547b120d1ccd87a48e31b699bdd1aa1a0 Closes-Bug: #1540234
10 lines
272 B
Django/Jinja
10 lines
272 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'] }}'}}
|
|
].
|