From d19ab93faf5c882e53c2306e4d5c9947ec762e8c Mon Sep 17 00:00:00 2001 From: Lee Garrett Date: Sun, 9 Jan 2022 11:11:56 +0100 Subject: [PATCH] Fix example code for flattened lookup (#4013) Co-authored-by: Lee Garrett --- plugins/lookup/flattened.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lookup/flattened.py b/plugins/lookup/flattened.py index c2e4494fd4..edc546ff83 100644 --- a/plugins/lookup/flattened.py +++ b/plugins/lookup/flattened.py @@ -23,7 +23,7 @@ DOCUMENTATION = ''' EXAMPLES = """ - name: "'unnest' all elements into single list" ansible.builtin.debug: - msg: "all in one list {{lookup('community.general.flattened', [1,2,3,[5,6]], [a,b,c], [[5,6,1,3], [34,a,b,c]])}}" + msg: "all in one list {{lookup('community.general.flattened', [1,2,3,[5,6]], ['a','b','c'], [[5,6,1,3], [34,'a','b','c']])}}" """ RETURN = """