diff --git a/lib/ansible/modules/utilities/logic/include_role.py b/lib/ansible/modules/utilities/logic/include_role.py index ddcf3c3796c..da640c21681 100644 --- a/lib/ansible/modules/utilities/logic/include_role.py +++ b/lib/ansible/modules/utilities/logic/include_role.py @@ -86,7 +86,7 @@ EXAMPLES = """ - name: Use role in loop include_role: name: '{{ roleinputvar }}' - with_items: + loop: - '{{ roleinput1 }}' - '{{ roleinput2 }}' loop_control: