Change insertion order of apply block to not affect the include_X task itself (#44912)

This commit is contained in:
Matt Martz 2018-08-30 15:56:28 -05:00 committed by Brian Coca
commit a0d7d4b82f
6 changed files with 50 additions and 32 deletions

View file

@ -833,8 +833,7 @@ class StrategyBase:
block_list = load_list_of_blocks(
data,
play=iterator._play,
parent_block=None,
task_include=ti_copy,
parent_block=ti_copy.build_parent_block(),
role=included_file._task._role,
use_handlers=is_handler,
loader=self._loader,