yep but have to go through and do it for each role and each playbook i want to that, would be nice if there was something like an implicit tag for each role.
On 21 January 2015 at 12:37, <[email protected]> wrote: > You can tag your role <http://docs.ansible.com/playbooks_tags.html> just > like anything else. Doing so effectively runs the role as if every task > inside the role has the tag. > > roles: > - role: myCoolRole, > tags: tagsAreCool > > > > > On Wednesday, January 21, 2015 at 6:03:34 AM UTC-5, Andrew Craft wrote: >> >> In the same way that you can use tags to target specific tasks in a large >> playbook, is it possible to filter by roles? Tags are useful but often find >> i am tagging all tasks in a role with same tag so i can run just those, >> would be nice if I could use roles in a similar way to filter as tags? >> >> thanks >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/9BEBajCGwWI/unsubscribe. > To unsubscribe from this group and all its topics, 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/59d50c0e-4a9d-412a-990e-2b2df73956ca%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/59d50c0e-4a9d-412a-990e-2b2df73956ca%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CAMnYZRV-dtBZ%2BnfOMioU70t21EXe279ba%2BvdWAShUube%2BX%3DJmA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
