Add quotes for RBMQ nodes definition
erlang parser, cant parse hostname with minus symbol, it returns: Ignoring external configuration due to error: {1,erl_parse,"bad term"} Adding single quotes fix this issue. Co-Authored-By: weiyu <weiyu@unitedstack.com> Closes-Bug: #1540234 Change-Id: I80e0789aa31febd552a851e6dc3a835d89c0e9d1
This commit is contained in:
parent
ebc1bbb081
commit
7829aa27b3
@ -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