Good question I have also wondered if you can run tasks with all tags. Eg -t all.
On Oct 11, 2017 9:04 PM, "Behrang Saeedzadeh" <[email protected]> wrote: > For example, let's pretend we have these tasks: > > - name: Task 1 > tags: > - foo > - bar > > - name: Task 2 > tags: > - foo > > - name: Task 3 > tags: > - bar > > Is there a way to only execute tasks that have both of *foo* and bar > *tags*? That's, only execute* Task 1*? > > -- > 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/480774d6-2a14-4d18-8dff-a4e50617ab5d%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/480774d6-2a14-4d18-8dff-a4e50617ab5d%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/CAAKHBKkAXMLx6yF4G8zKCD%2BU6Pk8M98ULaJJfGQYzjsJCuCwYg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
