summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wang <SydOps@users.noreply.github.com>2016-12-06 04:47:46 +1100
committerRyan Brown <sb@ryansb.com>2016-12-05 12:47:46 -0500
commit3c95e7567bcc2488dbf01518c1ac5b990e9c7f17 (patch)
treed22fdcc35792b030ffcee9c975882db7dcca9a8e
parent91d5822d68e43760f967b45751279d12314b7a10 (diff)
downloadansible-modules-extras-3c95e7567bcc2488dbf01518c1ac5b990e9c7f17.tar.gz
improve example for module ec2_vpc_subnet_facts (#3511)
-rw-r--r--cloud/amazon/ec2_vpc_subnet_facts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloud/amazon/ec2_vpc_subnet_facts.py b/cloud/amazon/ec2_vpc_subnet_facts.py
index 98f1e487..c8adce2c 100644
--- a/cloud/amazon/ec2_vpc_subnet_facts.py
+++ b/cloud/amazon/ec2_vpc_subnet_facts.py
@@ -65,6 +65,7 @@ EXAMPLES = '''
- publicA
- publicB
- publicC
+ register: subnet_facts
- set_fact:
subnet_ids: "{{ subnet_facts.results|map(attribute='subnets.0.id')|list }}"