Fix subelements lookup docs example (#44782)

* Fix subelements lookup docs example

* Fix grammar
This commit is contained in:
Matt Martz 2018-08-28 15:52:07 -05:00 committed by Ryan Brown
parent 70adbb87d9
commit 113bdec2ed

View file

@ -72,9 +72,9 @@ EXAMPLES = """
- "{{ users }}"
- mysql.hosts
- name: list groups for user that have them, dont error if they don't
- name: list groups for users that have them, don't error if groups key is missing
debug: var=item
with_list: "{{lookup('subelements', users, 'groups', 'skip_missing=True')}}"
loop: "{{lookup('subelements', users, 'groups', {'skip_missing': True})}}"
"""
RETURN = """