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

This change breaks ubuntu

This reverts commit 04992a3de0.

Change-Id: I5e38d4c4a37ee90603ad04ab4b9d03298b6b2eb2
This commit is contained in:
Sam Yaple 2016-02-04 11:47:28 +00:00
parent 04992a3de0
commit 84540a0632

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'] }}}}
].