From 3d90cbede5146ff09528d6d574855128269bca22 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 21 Feb 2017 16:42:08 +0100 Subject: [PATCH] library/roles/rabbitmq/defaults/main.yml: Define the rabbitmq ports as variables. --- rabbitmq/defaults/main.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/rabbitmq/defaults/main.yml b/rabbitmq/defaults/main.yml index 28573a19..9a655890 100644 --- a/rabbitmq/defaults/main.yml +++ b/rabbitmq/defaults/main.yml @@ -13,14 +13,19 @@ rabbitmq_disabled_plugins: '' rabbitmq_default_f: /etc/default/rabbitmq-server rabbitmq_fileno: 4096 rabbitmq_admin_u: r_admin - - -# # +# See http://www.rabbitmq.com/networking.html # 4369 (epmd), 25672 (Erlang distribution) # 5672, 5671 (AMQP 0-9-1 without and with TLS) # 15672 (if management plugin is enabled) # 61613, 61614 (if STOMP is enabled) # 1883, 8883 (if MQTT is enabled) # +rabbitmq_epmd_port: 4369 +rabbitmq_client_port: 5672 +rabbitmq_internode_port: '{{ rabbitmq_client_port + 20000 }}' +rabbitmq_management_port: 15672 +rabbitmq_stomp_port: '61613:61614' +rabbitmq_mqtt_port_low: 1883 +rabbitmq_mqtt_port_high: 8883