Filter tasks based on tags during iterator setup in v2

This commit is contained in:
James Cammarata
2015-04-15 01:10:24 -05:00
parent 96a7d85b61
commit 02e7385002
5 changed files with 52 additions and 7 deletions

View File

@@ -178,10 +178,6 @@ class StrategyModule(StrategyBase):
debug("'%s' skipped because role has already run" % task)
continue
if not task.evaluate_tags(connection_info.only_tags, connection_info.skip_tags, task_vars) and task.action != 'setup':
debug("'%s' failed tag evaluation" % task)
continue
if task.action == 'meta':
# meta tasks store their args in the _raw_params field of args,
# since they do not use k=v pairs, so get that