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