From f799aa8356825841cf940e971e1dc036bea76f75 Mon Sep 17 00:00:00 2001 From: Konstantin Gribov Date: Thu, 26 Mar 2020 16:24:06 +0300 Subject: [PATCH] Fix example since lookup/query is not filter (#55) See also ansible/ansible#68478 --- plugins/lookup/cartesian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}}"