add rabbitmq role
This commit is contained in:
16
roles/rabbitmq/templates/rabbitmq.conf.j2
Normal file
16
roles/rabbitmq/templates/rabbitmq.conf.j2
Normal file
@ -0,0 +1,16 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
{% if rabbitmq_loopback_users %}
|
||||
loopback_users = {{ rabbitmq_loopback_users }}
|
||||
{% endif %}
|
||||
{% if rabbitmq_vm_memory_high_watermark_relative %}
|
||||
vm_memory_high_watermark.relative = {{ rabbitmq_vm_memory_high_watermark_relative }}
|
||||
{% endif %}
|
||||
{% if rabbitmq_cluster_formation_peer_discovery_backend %}
|
||||
cluster_formation.peer_discovery_backend = {{ rabbitmq_cluster_formation_peer_discovery_backend }}
|
||||
{% endif %}
|
||||
{% if rabbitmq_cluster_formation_classic_config_nodes %}
|
||||
{% for node in rabbitmq_cluster_formation_classic_config_nodes %}
|
||||
cluster_formation.classic_config.nodes.{{ loop.index }} = {{ node }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
Reference in New Issue
Block a user