1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[cloud][docs] update ec2_tag documentation example (#22586)

Currently the documentation utilizes with_subelements, but it does not parse the results correctly.  By changing to with_items: and specifying the proper list, we are able to tag the instances as expected.
This commit is contained in:
Marc Mercer 2017-03-14 08:12:28 -07:00 committed by Ryan Brown
parent eed240797a
commit c5c0d9086e

View file

@ -100,9 +100,8 @@ EXAMPLES = '''
tags:
Name: dbserver
Env: production
with_subelements:
- ec2_vol.results
- volumes
with_items:
- ec2_vol.volumes
- name: Get EC2 facts
action: ec2_facts