From acb7d873f84861b9fb083d97dc1bed8b4e5c750a Mon Sep 17 00:00:00 2001 From: Ilja Bauer Date: Sat, 27 Aug 2016 17:11:42 +0200 Subject: [PATCH] Replaced use of bare variables with full variable syntax (#4149) --- cloud/amazon/ec2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/amazon/ec2.py b/cloud/amazon/ec2.py index 91a0d1a2215..1d96e492461 100644 --- a/cloud/amazon/ec2.py +++ b/cloud/amazon/ec2.py @@ -429,10 +429,10 @@ EXAMPLES = ''' register: ec2 - name: Add new instance to host group add_host: hostname={{ item.public_ip }} groupname=launched - with_items: ec2.instances + with_items: '{{ec2.instances}}' - name: Wait for SSH to come up wait_for: host={{ item.public_dns_name }} port=22 delay=60 timeout=320 state=started - with_items: ec2.instances + with_items: '{{ec2.instances}}' - name: Configure instance(s) hosts: launched