Hi! If you can figure out, how to create your report on the target machine, then you're nearly done. :) Just do that and thereafter transfer it to the control machine (I don't have a link at hand, but that's possible). Cheers, Kai
On 21 July 2016 09:32:35 CEST, ishan jain <[email protected]> wrote: >I can see a few problems with the templates: > >- I want the report on Ansible host machine and not on target machines >- Seems like a difficult job to consolidate report within template for >each >target host. > For eg this kind of report: > Check number 1 > [host 1]: OK > [host 2]: Failed >- I do not have extensive knowledhe of jinja2 templates and seems like >i >will have to learn a few things to create a report template > >On Thursday, 21 July 2016 12:44:07 UTC+5:30, Kai Stian Olstad wrote: >> >> On 21.07.2016 08:28, ishan jain wrote: >> > So, does anyone has an idea how i can generate a report in the end >> > after >> > collecting output of multiple commands ? >> >> Template? >> https://docs.ansible.com/ansible/template_module.html >> >> -- >> Kai Stian Olstad >> > >-- >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/8d96cd5f-66f7-4736-a769-2969afecf727%40googlegroups.com. >For more options, visit https://groups.google.com/d/optout. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 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/C195565F-9655-43DF-AD92-B7FBA525B8AD%40gmx.de. For more options, visit https://groups.google.com/d/optout.
