cacf08f0a6
kolla-kubernetes is using its own configuration generation[0], so it is time for kolla-ansible to remove the related code to simplify the logical. [0] https://github.com/openstack/kolla-kubernetes/tree/master/ansible Change-Id: I7bb0b7fe3b8eea906613e936d5e9d19f4f2e80bb Implements: blueprint clean-k8s-config
23 lines
704 B
Django/Jinja
23 lines
704 B
Django/Jinja
[
|
|
{kernel, [
|
|
{inet_dist_use_interface, {% raw %}{{% endraw %}{{ api_interface_address | regex_replace('\.', ',') }}}},
|
|
{inet_dist_listen_min, {{ role_rabbitmq_cluster_port }}},
|
|
{inet_dist_listen_max, {{ role_rabbitmq_cluster_port }}}
|
|
]},
|
|
{rabbit, [
|
|
{tcp_listeners, [
|
|
{"{{ api_interface_address }}", {{ role_rabbitmq_port }}}
|
|
]},
|
|
{cluster_partition_handling, autoheal}
|
|
]},
|
|
{rabbitmq_management, [
|
|
{listener, [
|
|
{ip, "{{ api_interface_address }}"},
|
|
{port, {{ role_rabbitmq_management_port }}}
|
|
]},
|
|
{load_definitions, "/etc/rabbitmq/definitions.json"}
|
|
]},
|
|
{rabbitmq_clusterer, [{config, "/etc/rabbitmq/rabbitmq-clusterer.config"}]}
|
|
].
|
|
% EOF
|