Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible-examples.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Gerla <tim@gerla.net>2013-12-07 22:25:19 +0400
committerTim Gerla <tim@gerla.net>2013-12-07 22:25:19 +0400
commitf4c4c26aabcfe2ec4b7b85c615e33794bbf69607 (patch)
treea1ef8710070ae29dbf506164dfa522b41f03dc87 /language_features
parenta2ea2294472809dfbd544fdbef80e8ecf4c28062 (diff)
Fix with_items variable syntax in ec2 example
Diffstat (limited to 'language_features')
-rw-r--r--language_features/eucalyptus-ec2.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/language_features/eucalyptus-ec2.yml b/language_features/eucalyptus-ec2.yml
index 796b203..0712196 100644
--- a/language_features/eucalyptus-ec2.yml
+++ b/language_features/eucalyptus-ec2.yml
@@ -28,17 +28,17 @@
- name: Add new instances to host group
local_action: add_host hostname={{item.public_ip}} groupname=deploy
- with_items: ${ec2.instances}
+ 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}
+ 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
local_action: ec2_vol volume_size=20 instance={{item.id}}
- with_items: ${ec2.instances}
+ with_items: ec2.instances
# This play targets the new host group