Analog for tags it turns out that:

    - block:
        - include_role:
            name: myrole
      tags: mytag

will apply the tag to tasks inside the role, its dependencies, roles that 
it includes/imports. Is this too a feature?

The block trick also works for include_tasks and import_tasks for both 
setting tags and delegate_to.

-- 
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/edeb66ae-4a6c-4d83-9ea2-76b37c86855e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to