Commit 99527295 by Feanil Patel

Used hostnames instead of IPs.

parent 2d6baf1b
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
{%- if name.startswith("tag_aws_cloudformation_stack-name_") -%} {%- if name.startswith("tag_aws_cloudformation_stack-name_") -%}
{%- for host in groups.tag_group_rabbitmq -%} {%- for host in groups.tag_group_rabbitmq -%}
{%- if host in groups[name] -%} {%- if host in groups[name] -%}
{% do hosts.append("rabbit@" + host) %} {% do hosts.append("rabbit@ip-" + host.replace('.','-')) %}
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}
{%- endif -%} {%- 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