You can definitely group tasks within roles using any tags you want, and
you can tag the roles themselves. The tags applied to the role will also
apply to all tasks/handlers within that role as well.

On Wed, Sep 17, 2014 at 10:40 AM, Hilco Wijbenga <[email protected]>
wrote:

> Hi all,
>
> Is there a way to group tasks (below the level of a role)? Perhaps
> with something with tags?
>
> I would like to conditionally run or not run a group of tasks. That
> would avoid the need to add a "when:" clause for each individual task.
>
> Cheers,
> Hilco
>
> --
> 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/CAE1pOi2gA-_%2B1zNwtVL%2BE5usKHLqE1_Q2VvQsF_Rc10y17gCfg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFjK3j8j79jW4_Sb4ouPurfQbASuH-yrwT4-NqWkYq%2Bofw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to