From 00db9987f03c289e9904f9287dd551b08496e56e Mon Sep 17 00:00:00 2001 From: Kourosh Vivan Date: Tue, 21 Jan 2020 10:49:02 +0100 Subject: [PATCH] Add NODENAME in rabbitmq env NODENAME is needed in some deployment (Centos) for use rabbitmq cli Change-Id: I983021d5913b3e88fb7b934003583d48ee35b8d9 Closes-bug: #1804283 --- templates/rabbitmq-env.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/rabbitmq-env.j2 b/templates/rabbitmq-env.j2 index 40bcece2..1ffe4368 100644 --- a/templates/rabbitmq-env.j2 +++ b/templates/rabbitmq-env.j2 @@ -1,6 +1,7 @@ # {{ ansible_managed }} # Set ERLANG VM parameters +NODENAME=rabbit@{{ ansible_hostname }} RABBITMQ_IO_THREAD_POOL_SIZE={{ rabbitmq_async_threads }} RABBITMQ_SERVER_ERL_ARGS="+P {{ rabbitmq_process_limit }}"