af1b69cb1e
Adds configurable option rabbit_cluster_partition_handling with default value of pause_minority. Allows option to be explicitly set to ignore through Ansible to reset to prior (and RabbitMQ default) behavior. Change-Id: I52625390b388a55c6ed210b5804c7de336985f37 Closes-Bug: #1454860
10 lines
374 B
Django/Jinja
10 lines
374 B
Django/Jinja
[
|
|
{rabbit, [
|
|
{loopback_users, []},
|
|
{% if rabbitmq_cluster_partition_handling != 'ignore' %}{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}},{% endif %}
|
|
{cluster_nodes, {
|
|
[ {% for host in groups['rabbitmq_all'] %}'rabbit@{{ hostvars[host]['ansible_ssh_host'] }}'{% if not loop.last %}, {% endif %}{% endfor %}], disc}
|
|
}
|
|
]}
|
|
].
|