Add ability to set environment variable RABBITMQ_USE_LONGNAMES

Add ability to set the environment variable RABBITMQ_USE_LONGNAMES
via the rabbitmq-env.conf to be able to use the FQDN for a node
Change-Id: I766bdbe847eb24010bfe9912f07e89d78bbc1bed
This commit is contained in:
Niklas Schwarz
2023年11月15日 09:16:10 +01:00
parent e46cf7c988
commit 83d8ec2a30

View File

@@ -1,10 +1,12 @@
# {{ ansible_managed }}
# Set ERLANG VM parameters
NODENAME=rabbit@{{ ansible_facts['hostname'] }}
NODENAME=rabbit@{{ ansible_facts['fqdn'] if rabbitmq_env_use_longname else ansible_facts['hostname'] }}
RABBITMQ_IO_THREAD_POOL_SIZE={{ rabbitmq_async_threads }}
RABBITMQ_SERVER_ERL_ARGS="+P {{ rabbitmq_process_limit }}"
USE_LONGNAME={{ rabbitmq_env_use_longname | bool | lower }}
{% if rabbitmq_erlang_extra_args %}
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="{{ rabbitmq_erlang_extra_args }}"
{% endif %}
Reference in New Issue
openstack/openstack-ansible-rabbitmq_server
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.