Commit d863c0a1 by Feanil Patel

Syntax fixes in the rabbitmq.yml playbook.

parent ab6ec7b1
......@@ -17,7 +17,8 @@
pre_tasks:
- action: ec2_facts
when: elb_pre_post
- debug: var="{{ ansible_ec2_instance_id }}"
- debug:
var: ansible_ec2_instance_id
when: elb_pre_post
- name: Instance De-register
local_action: ec2_elb
......@@ -32,7 +33,8 @@
- aws
- rabbitmq
post_tasks:
- debug: var="{{ ansible_ec2_instance_id }}"
- debug:
var: ansible_ec2_instance_id
when: elb_pre_post
- name: Register instance in the elb
local_action: ec2_elb
......@@ -42,6 +44,6 @@
region: us-east-1
state: present
wait_timeout: 60
with_items: ec2_elbs
with_items: "{{ ec2_elbs }}"
become: False
when: elb_pre_post
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