Commit 3032ba82 by Feanil Patel

Get rid of commented task.

parent 30374207
......@@ -28,11 +28,6 @@
tasks:
- debug: msg="{{ ansible_ec2_local_ipv4 }}"
with_items: list.results
# - name: The main ip to cluster to.
# shell: echo "rabbit@ip-{{ item|replace('.', '-') }}"
# when: item != ansible_ec2_local_ipv4
# with_items: hostvars.keys()
# register: list
- command: rabbitmqctl stop_app
- command: rabbitmqctl join_cluster rabbit@ip-{{ hostvars.keys()[0]|replace('.', '-') }}
when: hostvars.keys()[0] != ansible_ec2_local_ipv4
......
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