d01e9a43dd
Change-Id: I2a9c6fa16444a2142ab77f58d188eda84a2e59fd Partially-Implements: blueprint rabbitmq-clusterer
10 lines
268 B
Django/Jinja
10 lines
268 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'] }}}}
|
|
].
|