improve example for module ec2_vpc_subnet_facts (#3511)

This commit is contained in:
Bill Wang 2016-12-06 04:47:46 +11:00 committed by Matt Clay
parent 937117d871
commit 246ce5aa85

View file

@ -70,6 +70,7 @@ EXAMPLES = '''
- publicA
- publicB
- publicC
register: subnet_facts
- set_fact:
subnet_ids: "{{ subnet_facts.results|map(attribute='subnets.0.id')|list }}"