Commit 10d58ef8 by arbabnazar

fix the duplicate entry of rabbitmq_refresh

parent 4de14ad5
......@@ -29,7 +29,7 @@
module: ec2
state: 'absent'
region: "{{ region }}"
instance_ids: "{{tag_lookup.instance_ids}}"
instance_ids: "{{ tag_lookup.instances[0].id }}"
when: terminate_instance == true and tag_lookup.instances|length == 1
- name: deregister instance from an an elb if it was in one
......
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