Add defaults for rabbitmq managment and erlang bind addresses

These default to 0.0.0.0 and can be overriden in a real deployment
where the correct management network address is known.
Change-Id: If989ccee6449578316e2e8dbe502b6b17c7af9c5
This commit is contained in:
Jonathan Rosser
2019年07月11日 22:15:41 +01:00
committed by Guilherme Steinmüller
parent 510978a595
commit 15e8837dd3

View File

@@ -3,3 +3,7 @@
# Set ERLANG VM parameters
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 %}

View File

@@ -38,8 +38,12 @@
]
},
{ rabbitmq_management, [
{ rates_mode, {{ rabbitmq_management_rates_mode }} }
{ rates_mode, {{ rabbitmq_management_rates_mode }} },
{ listener, [{ip, "{{ rabbitmq_management_bind_address }}" }]}
]
},
{kernel, [
{inet_dist_use_interface, { {{ rabbitmq_management_bind_address|replace('.',',') }} } }
]},
{mnesia, [{dump_log_write_threshold, {{ mnesia_dump_log_write_threshold }} }]}
].
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.