On 8/24/18 4:31 PM, Kai Stian Olstad wrote:
> You can also wrap the include_tasks in a block, and set the tags on the block.
>
> - block:
> - name: My Task
> include_tasks: "mytask.{{ansible_osfamily}}.yml"
> tags:
> - mytask-only
> - always
Given the volatility of include handling in a pretty short period my
question is:
Is the solution above guaranteed to work for the next few years?
Ciao, Michael.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9830d6a0-3acd-61c1-a758-645aaed453cd%40stroeder.com.
For more options, visit https://groups.google.com/d/optout.