March 2019
Intermediate to advanced
412 pages
9h 49m
English
When including task files, it is possible to tag all the tasks within the file. The tags key is used to define one or more tags to apply to all the tasks within the include hierarchy. The ability to tag at include time can keep the task file itself un-opinionated about how the tasks should be tagged and can allow for a set of tasks to be included multiple times but with different data and tags passed along.
Let's create a simple demonstration to illustrate how tags can be used. We'll start by editing our includer.yaml file to create a playbook that includes a task file twice, each with a different ...
Read now
Unlock full access