Skip to content
Snippets Groups Projects
Commit d44055fb authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Improve rabbitmq-clusterer template code format"

parents 50897ef2 d96464e9
No related branches found
No related tags found
No related merge requests found
[ [
{version, 1}, {version, 1},
{nodes, [ {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}
{% endfor %} {%- if not loop.last -%},{%- endif %}
{% endfor %}
]}, ]},
{gospel, {node, 'rabbit@{{ hostvars[groups['rabbitmq'][0]]['ansible_hostname'] }}'}} {gospel,
{node, 'rabbit@{{ hostvars[groups['rabbitmq'][0]]['ansible_hostname'] }}'}}
]. ].
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment