From df909c5726e4d891654ef9456fdfe83bbb5b1c0d Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 8 Jan 2018 16:13:10 -0600 Subject: [PATCH] Fix with_items debug loop example. Fixes #34540 (#34578) --- lib/ansible/plugins/lookup/items.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/items.py b/lib/ansible/plugins/lookup/items.py index 048a877f3b..77e2cdca92 100644 --- a/lib/ansible/plugins/lookup/items.py +++ b/lib/ansible/plugins/lookup/items.py @@ -23,7 +23,8 @@ DOCUMENTATION = """ EXAMPLES = """ - name: "loop through list" - debug: msg="An item: {{item}}" + debug: + msg: "An item: {{item}}" with_items: - 1 - 2