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