Commit 9590c92c by Feanil Patel

Correct the syntax for the rabbitmq config file.

parent a8268321
% {{ ansible_managed }}
[{rabbit,
[{rabbit, [
{log_levels, [{connection, info}]},
{% if RABBITMQ_CLUSTERED -%}
{%- set hosts= [] -%}
......@@ -9,7 +9,7 @@
{% do hosts.append("rabbit@ip-" + host.replace('.','-')) %}
{%- endfor %}
[{cluster_nodes, {['{{ hosts|join("\',\'") }}'], disc}}]
{cluster_nodes, {['{{ hosts|join("\',\'") }}'], disc}}
{%- else -%}
{# If rabbitmq_clustered_hosts is set, use that instead assuming an aws stack.
......@@ -17,4 +17,4 @@
#}
[{cluster_nodes, {['{{ rabbitmq_clustered_hosts|join("\',\'") }}'], disc}}]
{%- endif -%}
}].
]}].
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment