aboutsummaryrefslogblamecommitdiffhomepage
path: root/templates/etc/rabbitmq/rabbitmq.config.j2
blob: 97ae1324602d9ecf796a16d9a3ae91d1d5b04f59 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                                                                   
[
 {rabbit, [
{% if rabbitmq_listeners is not defined %}
   {tcp_listeners, [{{ rabbitmq_listen_port }}]}
{% elif rabbitmq_listeners is defined %}
   {tcp_listeners, [{% for item in rabbitmq_listeners %}{"{{ item }}", {{ rabbitmq_listen_port }}}{% if not loop.last %}, {% endif %}{% endfor %}]}
{% endif %}
  ]}
].