mirror of
https://gitea.0xace.cc/ansible-galaxy/rabbitmq.git
synced 2025-04-05 08:01:56 +00:00
9 lines
257 B
Django/Jinja
9 lines
257 B
Django/Jinja
{% if rabbitmq_conf is defined %}
|
|
{{ rabbitmq_conf }}
|
|
{% endif %}
|
|
{% if rabbitmq_cluster %}
|
|
{% for host in ansible_play_hosts %}
|
|
cluster_formation.classic_config.nodes.{{ loop.index }} = rabbit@{{ hostvars[host].ansible_hostname }}
|
|
{% endfor %}
|
|
{% endif %}
|