From 25a192034f4410882b40075853acb73cc798c498 Mon Sep 17 00:00:00 2001 From: Juan Martinez Date: Mon, 1 Oct 2018 15:45:26 -0400 Subject: [PATCH] Use specified loopvar in include_role example loop --- lib/ansible/modules/utilities/logic/include_role.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/utilities/logic/include_role.py b/lib/ansible/modules/utilities/logic/include_role.py index 56e0ccf1bc..ddcf3c3796 100644 --- a/lib/ansible/modules/utilities/logic/include_role.py +++ b/lib/ansible/modules/utilities/logic/include_role.py @@ -85,7 +85,7 @@ EXAMPLES = """ - name: Use role in loop include_role: - name: myrole + name: '{{ roleinputvar }}' with_items: - '{{ roleinput1 }}' - '{{ roleinput2 }}'