From 72b29d122e93d663c71d360c9edffb8fafc50e81 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 23 May 2016 10:01:41 -0400 Subject: [PATCH] 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 --- lib/ansible/playbook/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/helpers.py b/lib/ansible/playbook/helpers.py index ee7d922801..05556f3aa3 100644 --- a/lib/ansible/playbook/helpers.py +++ b/lib/ansible/playbook/helpers.py @@ -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,