Fix subelements lookup docs example (#44782)

* Fix subelements lookup docs example

* Fix grammar
pull/44793/head
Matt Martz 6 years ago committed by Ryan Brown
parent 70adbb87d9
commit 113bdec2ed

@ -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 = """

Loading…
Cancel
Save