Commit ab6ec7b1 by Feanil Patel

Syntax fixes for the elasticsearch.yml playbook.

parent 3eaf5847
......@@ -12,7 +12,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
......@@ -29,7 +30,8 @@
- oraclejdk
- elasticsearch
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
......@@ -39,6 +41,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