Hi all,
Playing with 2.0, I just stumbled on:
[DEPRECATION WARNING]: You should not specify tags in the include
parameters. All tags should be specified using the task-level option.
This feature will be removed in a future release.
So, basically, this means that you cannot do this anymore:
myrole/tasks/main.yml:
- include: setup.yml tags=myrole,setup
- include: myrole.yml tags=myrole
This pattern is very handy: it lets you "assign" tags on all tasks in a
file. This helps keeping tasks descriptions less verbose, and improves
readability
If I understand the warning correctly, we won't be able to do that in
the future. What is the rationale behind the decision ? Will there be an
alternate way to do it (besides blocks) ?
Thanks,
M