ansible/roles/rabbitmq/templates/rabbitmq.conf.j2

17 lines
653 B
Plaintext
Raw Normal View History

2022-08-30 12:50:44 +00:00
# {{ 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 %}