fix miss rabbitmq config when hostname include special character
Change-Id: I46db4d3547b120d1ccd87a48e31b699bdd1aa1a0 Closes-Bug: #1540234
This commit is contained in:
parent
1057dcd50a
commit
04992a3de0
@ -1,9 +1,9 @@
|
|||||||
[
|
[
|
||||||
{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}{% if not loop.last %},{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
]},
|
]},
|
||||||
{gospel, {node, rabbit@{{ hostvars[groups['rabbitmq'][0]]['ansible_hostname'] }}}}
|
{gospel, {node, 'rabbit@{{ hostvars[groups['rabbitmq'][0]]['ansible_hostname'] }}'}}
|
||||||
].
|
].
|
||||||
|
Loading…
Reference in New Issue
Block a user