Merge pull request #10 from lwade/master

ec2 example update
pull/63/head
Tim Gerla 11 years ago
commit 47d36416ae
  1. 4
      language_features/eucalyptus-ec2.yml

@ -30,6 +30,10 @@
local_action: add_host hostname={{item.public_ip}} groupname=deploy
with_items: ${ec2.instances}
- name: Wait for the instances to boot by checking the ssh port
local_action: wait_for host={{item.public_dns_name}} port=22 delay=60 timeout=320 state=started
with_items: ${ec2.instances}
# Use the ec2_vol module to create volumes for attachment to each instance. Use with_items to attach to each instance (by returned id) launched previously.
- name: Create a volume and attach