diff --git a/plugins/lookup/cartesian.py b/plugins/lookup/cartesian.py index 19b08793bc..a98b305806 100644 --- a/plugins/lookup/cartesian.py +++ b/plugins/lookup/cartesian.py @@ -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}}"