Hi,

I'd like to be able to tag all tasks in a role, however I'm not seeing an
option.. tags are not allowed globally in tasks/main.yml and if I tag a
role in the play all depended roles will be tagged too.

An option would be to make main.yml empty except for a task that includes
the actual tasks and tag that, but that seems rather nasty.

Is there a way I can tag all the tasks in a given role, but not the tasks
of depended roles without the include hack?

thanks,

Spike

-- 
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/CAPE6YbT%3DF0epDdxFqcxg0RSURBwbZ8q_LXtQ0L9syUCNG%2Bs3qQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to