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

Fix example since lookup/query is not filter (#55)

See also ansible/ansible#68478
This commit is contained in:
Konstantin Gribov 2020-03-26 16:24:06 +03:00 committed by GitHub
parent 76880e2403
commit f799aa8356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ DOCUMENTATION = '''
EXAMPLES = """
- name: Example of the change in the description
debug: msg="{{ [1,2,3]|lookup('cartesian', [a, b])}}"
debug: msg="{{ lookup('cartesian', [1,2,3], [a, b])}}"
- name: loops over the cartesian product of the supplied lists
debug: msg="{{item}}"