From a8dbd3dee909788db6bb9b9349b4052f39cd5804 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 31 Mar 2016 00:44:41 -0400 Subject: [PATCH] Pass the variable manager into load_list_of_blocks for include files Fixes #15194 --- lib/ansible/plugins/strategy/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/plugins/strategy/__init__.py b/lib/ansible/plugins/strategy/__init__.py index a416a6fad0..f9a7d8ec0f 100644 --- a/lib/ansible/plugins/strategy/__init__.py +++ b/lib/ansible/plugins/strategy/__init__.py @@ -460,7 +460,8 @@ class StrategyBase: task_include=included_file._task, role=included_file._task._role, use_handlers=is_handler, - loader=self._loader + loader=self._loader, + variable_manager=self._variable_manager, ) # since we skip incrementing the stats when the task result is