When adding nested blocks, don't pass in any parent includes

We previously changed block behavior to prefer includes over parent
blocks, which broke inheritence in nested blocks.

Fixes #15926
This commit is contained in:
James Cammarata 2016-05-23 10:01:41 -04:00
parent 070af51370
commit 72b29d122e

View file

@ -95,7 +95,7 @@ def load_list_of_tasks(ds, play, block=None, role=None, task_include=None, use_h
play=play,
parent_block=block,
role=role,
task_include=task_include,
task_include=None,
use_handlers=use_handlers,
variable_manager=variable_manager,
loader=loader,