|
|
|
@ -96,7 +96,7 @@ class PlaybookInclude(Base, Conditional, Taggable):
|
|
|
|
# plays. If so, we can take a shortcut here and simply prepend them to
|
|
|
|
# plays. If so, we can take a shortcut here and simply prepend them to
|
|
|
|
# those attached to each block (if any)
|
|
|
|
# those attached to each block (if any)
|
|
|
|
if forward_conditional:
|
|
|
|
if forward_conditional:
|
|
|
|
for task_block in entry.tasks:
|
|
|
|
for task_block in entry.pre_tasks + entry.roles + entry.tasks + entry.post_tasks:
|
|
|
|
task_block.when = self.when[:] + task_block.when
|
|
|
|
task_block.when = self.when[:] + task_block.when
|
|
|
|
|
|
|
|
|
|
|
|
return pb
|
|
|
|
return pb
|
|
|
|
|