Not currently. There is a feature request somewhere to allow tag intersections and advanced operators, but it has not been implemented.
Tags are effectively an `OR` operation right now. On Mon, Jul 22, 2019 at 11:23 AM Adam <[email protected]> wrote: > Does anyone know of a way to execute only nested tags? For example, I use > the same tag "cron" in multiple roles, but if I want to only execute the > tasks tagged with "cron" under the "app1" role. Is there a syntax to make > that work? > > Thanks, > Adam > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/84b45360-024f-4147-9de3-21763f69d527%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/84b45360-024f-4147-9de3-21763f69d527%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Matt Martz @sivel sivel.net -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAD8N0v_OnS-PW%3DcNa2mjG3f96HfkCwEate81r4pqCosmonRhEQ%40mail.gmail.com.
