either there's a tag: name in the playbook or in the tasks. On Tue, Aug 21, 2018 at 11:11 AM Mauricio Castro < mauricioscas...@hotmail.com> wrote:
> Hello all, is there a way to know during playbook execution which tags it > was called with in command line with -t ? > > I mean given *ansible-playbook -t x,y,z *how do I know inside the > playbook I am only executing tasks with those tags? > > > Thanks > > -- > 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 ansible-project+unsubscr...@googlegroups.com. > To post to this group, send email to ansible-project@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/e69261c8-44d6-4366-ae11-c258095af5b5%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/e69261c8-44d6-4366-ae11-c258095af5b5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jonathan lozada de la matta AUTOMATION CONSULTANT - AUTOMATION PRACTICE Red Hat Consulting Services <https://www.redhat.com/> jloza...@redhat.com -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKpoY7BLTW9ys3syED_ToiCiR5Kx%2Bx6Ris3-xjfb3Ci0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.