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

See also ansible/ansible#68478
pull/24/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ DOCUMENTATION = '''
EXAMPLES = """ EXAMPLES = """
- name: Example of the change in the description - 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 - name: loops over the cartesian product of the supplied lists
debug: msg="{{item}}" debug: msg="{{item}}"