Subject: [ansible-project] Is it possible to use include_tasks to run a tagged task in another file?


On 11.06.2019 19:39, Douglas Thompson wrote:

It doesn't, it says "will be applied to the tasks within the include."
> Anyone tried anything like this?

Many have, all have failed, since it doesn't work like that.
All tags in a file is always added to the task, at this level it is not a filter.

To choose which tags to run is done at the command line with -t/--tags
--
Kai Stian Olstad

--
To post to this group, send email to [EMAIL PROTECTED].