Re: [ansible-project] which tags are being used in runtime?

2018-08-23 Thread Mauricio Castro
Kai, thanks, it was my version 2.4.2, updated to 2.6.3. Working now. Thanks a lot to all. On Thu, 2018-08-23 at 13:32 +, Mauricio Castro wrote: Identation was a e-mail body problem. I think it should be my version. I will try to update it. Thanks a lot. On Thu, 2018-08-23 at 15:29 +0200

Re: [ansible-project] which tags are being used in runtime?

2018-08-23 Thread Mauricio Castro
Identation was a e-mail body problem. I think it should be my version. I will try to update it. Thanks a lot. On Thu, 2018-08-23 at 15:29 +0200, Kai Stian Olstad wrote: On 23.08.2018 14:56, Mauricio Castro wrote: hummm, that's it: I tried: - debug: var=ansible_run_tags tags: [&#

Re: [ansible-project] which tags are being used in runtime?

2018-08-23 Thread Mauricio Castro
hummm, that's it: I tried: - debug: var=ansible_run_tags tags: ['delete'] and I run: ansible-playbook -t delete pb.yml and I get: TASK [debug] * ok: [localhost] => { "ansible_run_t

Re: [ansible-project] which tags are being used in runtime?

2018-08-23 Thread Mauricio Castro
- debug: var=ansible_run_tags tags: ['always'] is not giving me anything. are you sure Brian? thanks for the help. On Tuesday, August 21, 2018 at 5:40:25 PM UTC-3, Brian Coca wrote: > > ansible_run_tags > > > -- > -- > Brian Coca > -- You received this message because you are sub

Re: [ansible-project] which tags are being used in runtime?

2018-08-23 Thread Mauricio Castro
great! thanks a lot! On Tuesday, August 21, 2018 at 5:40:25 PM UTC-3, Brian Coca wrote: > > ansible_run_tags > > > -- > -- > Brian Coca > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiv

[ansible-project] which tags are being used in runtime?

2018-08-21 Thread Mauricio Castro
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 subsc