Merge "Revert "fix miss rabbitmq config when hostname include special character""

This commit is contained in:
Jenkins 2016-02-04 16:33:49 +00:00 committed by Gerrit Code Review
commit 3e586c9bcb

View File

@ -1,9 +1,9 @@
[
{version, 1},
{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}{% if not loop.last %},{% endif %}
{% endfor %}
]},
{gospel, {node, 'rabbit@{{ hostvars[groups['rabbitmq'][0]]['ansible_hostname'] }}'}}
{gospel, {node, rabbit@{{ hostvars[groups['rabbitmq'][0]]['ansible_hostname'] }}}}
].