mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
improve example for module ec2_vpc_subnet_facts (#3511)
This commit is contained in:
parent
937117d871
commit
246ce5aa85
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ EXAMPLES = '''
|
|||
- publicA
|
||||
- publicB
|
||||
- publicC
|
||||
register: subnet_facts
|
||||
|
||||
- set_fact:
|
||||
subnet_ids: "{{ subnet_facts.results|map(attribute='subnets.0.id')|list }}"
|
||||
|
|
Loading…
Reference in a new issue