diff --git a/lib/ansible/plugins/strategy/__init__.py b/lib/ansible/plugins/strategy/__init__.py index a416a6fad0e..f9a7d8ec0fa 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