openstack-ansible-rabbitmq_.../templates/rabbitmq-env.j2
Kourosh Vivan 00db9987f0 Add NODENAME in rabbitmq env
NODENAME is needed in some deployment (Centos) for use rabbitmq cli

Change-Id: I983021d5913b3e88fb7b934003583d48ee35b8d9
Closes-bug: #1804283
2020-01-21 11:09:01 +01:00

11 lines
341 B
Django/Jinja

# {{ 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 }}"
{% if (rabbitmq_management_bind_address != '0.0.0.0') %}
export ERL_EPMD_ADDRESS={{ rabbitmq_management_bind_address }}
{% endif %}