Merge "Set Rabbit recovery method for network partitions"

This commit is contained in:
Jenkins 2015-05-29 17:50:21 +00:00 committed by Gerrit Code Review
commit 66d8d6ee96
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,9 @@ rabbitmq_userid: rabbitmq
# Name of the rabbitmq cluster
rabbitmq_cluster_name: rabbitmq_cluster1
# Specify a partition recovery strategy (autoheal | pause_minority | ignore)
rabbitmq_cluster_partition_handling: pause_minority
# Rabbitmq open file limits
rabbitmq_ulimit: 4096

View File

@ -1,6 +1,7 @@
[
{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}
}