Re: [ansible-project] Need Debug Output

2019-01-25 Thread Diptajeet Khan
Ok but it was stuck mostly with parsing the debug output. Best Regards Diptajeet On Fri, Jan 25, 2019, 6:23 PM Jonathan Lozada De La Matta < jloza...@redhat.com wrote: > You mentioned you needed debug output and I linked the docs that mentioned > how to do it. > > On Thu, Jan 24, 2019 at 9:07

Re: [ansible-project] Need Debug Output

2019-01-25 Thread Jonathan Lozada De La Matta
You mentioned you needed debug output and I linked the docs that mentioned how to do it. On Thu, Jan 24, 2019 at 9:07 PM Diptajeet Khan wrote: > Hi Jonathan, > > Didn't get what is meant by following the link. > > Best Regards > Diptajeet > > On Fri, Jan 25, 2019, 5:27 AM Jonathan Lozada De La

Re: [ansible-project] Need Debug Output

2019-01-24 Thread Diptajeet Khan
Hi Jonathan, Didn't get what is meant by following the link. Best Regards Diptajeet On Fri, Jan 25, 2019, 5:27 AM Jonathan Lozada De La Matta < jloza...@redhat.com wrote: > > https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html#cmdoption-ansible-playbook-v > > On Thu, Jan 24, 2019

Re: [ansible-project] Need Debug Output

2019-01-24 Thread Jonathan Lozada De La Matta
https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html#cmdoption-ansible-playbook-v On Thu, Jan 24, 2019 at 6:36 PM Diptajeet Khan wrote: > Hi All, > > Any hints to this? > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. >

Re: [ansible-project] Need Debug Output

2019-01-24 Thread Diptajeet Khan
Hi All, Any hints to this? -- 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

Re: [ansible-project] Need Debug Output

2019-01-24 Thread Diptajeet Khan
Tried however doesnt work. => template error while templating string: expected name or number. String: {{{output.results._ansible_item_label.{item' On Thursday, January 24, 2019 at 7:01:04 PM UTC+5:30, Karthik Chandrashekar wrote: > > May be you could try something like this. Register your

Re: [ansible-project] Need Debug Output

2019-01-24 Thread Karthik Chandrashekar
May be you could try something like this. Register your output to some variable let's call it X. Then try to debug like below example. Am exactly sure but, you can give a try. var="{X.results._ansible_item_label.{item}}" with_item: - packet_lose - packet_rx On Thu 24 Jan, 2019, 6:51 PM

[ansible-project] Need Debug Output

2019-01-24 Thread Diptajeet Khan
Hi, Need help to fetch output from the below output message. Bascially I need to extract "packet_loss", "packets_rx", "packets_tx", "rtt_avg", "rtt_max" & "rtt_min" for each "item". Trying to use the code as Code =: - debug: var: "{{ item['packet_loss'] }}" with_items: "{{