tags for included tasks

It would be great if an included task could be tagged, so that it isn’t necessary to tag everything in that task; e.g.,

  • include: $tasks/sshd.yml

tags: sysconfig

Am I missing something?

Thanks,

Actually, that works.
Just note the tag on the same line as the include:

  • include: $tasks/sshd.yml tags=sysconfig

serge

Beautiful - thanks!

I had thought we could also do it at the same level as well. For
consistency we certainly should.

Send me a patch!