Commit 91519d16 by James Cammarata

Don't filter include tasks based on tags

Fixes #11320
parent 46f74a0d
......@@ -310,7 +310,7 @@ class Block(Base, Become, Conditional, Taggable):
def evaluate_and_append_task(target):
tmp_list = []
for task in target:
if task.evaluate_tags(play_context.only_tags, play_context.skip_tags, all_vars=all_vars):
if task.action == 'include' or task.evaluate_tags(play_context.only_tags, play_context.skip_tags, all_vars=all_vars):
tmp_list.append(task)
return tmp_list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment