Commit 669bb9e3 by Feanil Patel

Merge pull request #1950 from edx/feanil/fix_module_error

Update syntax to match the new format.
parents 7aa163dd b59291bd
...@@ -91,18 +91,18 @@ ...@@ -91,18 +91,18 @@
- name: Add new instance to host group - name: Add new instance to host group
local_action: > local_action:
add_host module: add_host
hostname={{ item.public_ip }} hostname: "{{ item.public_ip }}"
groupname=launched groups: launched
with_items: ec2.instances with_items: ec2.instances
- name: Wait for SSH to come up - name: Wait for SSH to come up
local_action: > local_action:
wait_for module: wait_for
host={{ item.public_dns_name }} host: "{{ item.public_dns_name }}"
state=started state: started
port=22 port: 22
delay=60 delay: 60
timeout=320 timeout: 320
with_items: ec2.instances with_items: ec2.instances
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