Logan V
5d6c040d18
Implement tag filter strategy
Renames the "artifacting" strategy to "tagfilter" and implements a more generic tag skipping implementation that can be defined from within the ansible vars structure dynamically on a per-host, per-group, or per-playbook basis. To use the tagfilter strategy, run the playbook with strategy: tagfilter and define a hostvar named "skip_tags". Skip tags can be a string or a list, and any tag CONTAINING a skip tag (an exact match is not needed) will be skipped. Also added is a check for a var called "skip_handlers", defaulted to True. When skip_handlers is enabled, no handlers will be run regardless of whether the task is skipped or not. If set to False, handlers will be allowed to run as normal except when tasks are skipped by the skip_tags. Change-Id: I649707e6744e03763c4e786d203716ebf657ab48
Description
Languages
Python
100%