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

This commit is contained in:
Jenkins 2016-02-02 14:55:19 +00:00 committed by Gerrit Code Review
commit a7033463f4

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