aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2020-01-08 13:44:13 +0100
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2020-01-08 13:44:13 +0100
commita930e714480676bd27d629d8786dc9d8ba7243dc (patch)
treed7480f2f9885ba374c6054c165c53b0b7b1d38e8
parentfeb48c4eb5dab5a61919226567e64ab748deec21 (diff)
downloadansible-rabbitmq-a930e714480676bd27d629d8786dc9d8ba7243dc.tar.gz
ansible-rabbitmq-a930e714480676bd27d629d8786dc9d8ba7243dc.tar.zst
ansible-rabbitmq-a930e714480676bd27d629d8786dc9d8ba7243dc.zip
Add partition handling setting
-rw-r--r--templates/etc/rabbitmq/rabbitmq.config.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/etc/rabbitmq/rabbitmq.config.j2 b/templates/etc/rabbitmq/rabbitmq.config.j2
index c2d836a..4d3e81c 100644
--- a/templates/etc/rabbitmq/rabbitmq.config.j2
+++ b/templates/etc/rabbitmq/rabbitmq.config.j2
@@ -5,6 +5,9 @@
5{% elif rabbitmq_listeners is defined %} 5{% elif rabbitmq_listeners is defined %}
6 {tcp_listeners, [{% for item in rabbitmq_listeners %}{"{{ item }}", {{ rabbitmq_listen_port }}}{% if not loop.last %}, {% endif %}{% endfor %}]} 6 {tcp_listeners, [{% for item in rabbitmq_listeners %}{"{{ item }}", {{ rabbitmq_listen_port }}}{% if not loop.last %}, {% endif %}{% endfor %}]}
7{% endif %} 7{% endif %}
8{% if rabbitmq_cluster_partition_handling is defined %}
9 ,{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}}
10{% endif %}
8{% if rabbitmq_ssl_enable %} 11{% if rabbitmq_ssl_enable %}
9 , 12 ,
10 {num_ssl_acceptors, 10}, 13 {num_ssl_acceptors, 10},