7054b27dbb
deploy rabbitmq cluster by train with ipv6 report: unable to connect to epmd (port 4369) on control-1: address (cannot connect to host/port) Closes-Bug: #1856725 Change-Id: I36ebb4e196ece8a304269e8c85e39dda72faae50 Signed-off-by: yj.bai <bai.yongjun@99cloud.net>
30 lines
919 B
Django/Jinja
30 lines
919 B
Django/Jinja
{
|
|
"command": "sleep infinity",
|
|
"config_files": [
|
|
{% if enable_rabbitmq | bool %}{
|
|
"source": "{{ container_config_directory }}/rabbitmq-erlang.cookie",
|
|
"dest": "/var/lib/rabbitmq/.erlang.cookie",
|
|
"owner": "rabbitmq",
|
|
"perm": "0600"
|
|
}{% endif %}{% if api_address_family == 'ipv6' %},
|
|
{
|
|
"source": "{{ container_config_directory }}/rabbitmq-env.conf",
|
|
"dest": "/etc/rabbitmq/rabbitmq-env.conf",
|
|
"owner": "rabbitmq",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/erl_inetrc",
|
|
"dest": "/etc/rabbitmq/erl_inetrc",
|
|
"owner": "rabbitmq",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/ansible.log",
|
|
"owner": "ansible:ansible"
|
|
}
|
|
]
|
|
}
|