summaryrefslogtreecommitdiff
path: root/cloud/amazon/ec2_eip.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/amazon/ec2_eip.py')
-rw-r--r--cloud/amazon/ec2_eip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/amazon/ec2_eip.py b/cloud/amazon/ec2_eip.py
index eb3f17a9..2757a618 100644
--- a/cloud/amazon/ec2_eip.py
+++ b/cloud/amazon/ec2_eip.py
@@ -101,7 +101,7 @@ EXAMPLES = '''
register: ec2
- name: associate new elastic IPs with each of the instances
ec2_eip: "device_id={{ item }}"
- with_items: ec2.instance_ids
+ with_items: "{{ ec2.instance_ids }}"
- name: allocate a new elastic IP inside a VPC in us-west-2
ec2_eip: region=us-west-2 in_vpc=yes
register: eip