mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 18:04:02 -07:00
Fix handler flushing to match how v1 worked
Also adds meta tasks to the list of tasks excluded from tag filtering Fixes #11574
This commit is contained in:
parent
d0dcf73716
commit
4b6525fb58
2 changed files with 16 additions and 2 deletions
|
@ -322,7 +322,7 @@ class Block(Base, Become, Conditional, Taggable):
|
|||
def evaluate_and_append_task(target):
|
||||
tmp_list = []
|
||||
for task in target:
|
||||
if task.action == 'include' or task.evaluate_tags(play_context.only_tags, play_context.skip_tags, all_vars=all_vars):
|
||||
if task.action in ('meta', 'include') or task.evaluate_tags(play_context.only_tags, play_context.skip_tags, all_vars=all_vars):
|
||||
tmp_list.append(task)
|
||||
return tmp_list
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue