kolla-ansible/ansible/roles/rabbitmq/templates/rabbitmq.conf.j2
Christian Berendt 19564b1533 Deprecate rabbitmq_hipe_compile
Erlang 22.x dropped support for HiPE so use of "rabbitmq_hipe_compile"
is deprecated.

Change-Id: I8e0173c7aa6204e5b4c60dafbb8b464482cae90b
2020-04-27 10:46:00 +00:00

15 lines
734 B
Django/Jinja

# NOTE(yoctozepto): rabbitmq uses the raw format (e.g. fd::) of IPv6 address;
# despite specifying port via colon, the url format (e.g. [fd::]) is not accepted
listeners.tcp.1 = {{ api_interface_address }}:{{ role_rabbitmq_port }}
{# NOTE: to avoid split-brain #}
cluster_partition_handling = pause_minority
management.listener.ip = {{ api_interface_address }}
management.listener.port = {{ role_rabbitmq_management_port }}
management.load_definitions = /etc/rabbitmq/definitions.json
cluster_formation.peer_discovery_backend = rabbit_peer_discovery_classic_config
{% for host in groups[role_rabbitmq_groups] %}
cluster_formation.classic_config.nodes.{{ loop.index0 }} = rabbit@{{ hostvars[host]['ansible_hostname'] }}
{% endfor %}