There was a talk about this at a London ansible meetup in 2019. The speaker wrote a callback plugin to return CSV formatted ansible output. I think the PR got declined but you could write something similar for your use case.
Here's a link to the talk: https://youtu.be/Dj0hgliEjA8 On Sat, 9 Jan 2021, 12:43 aksain bhati, <[email protected]> wrote: > Hello, Racke > can you please share an example code so that I can understand better > Thanks man > Appreciated > > > On Saturday, January 9, 2021 at 3:20:14 PM UTC+5:30 [email protected] > wrote: > >> On 1/9/21 12:27 AM, aksain bhati wrote: >> > That make sense but still any suggestion on generating report >> > >> >> You could give ARA a try: https://ara.recordsansible.org/ >> >> Regards >> Racke >> >> > >> > On Saturday, January 9, 2021 at 2:49:04 AM UTC+5:30 [email protected] >> wrote: >> > >> > Create a single playbook that includes the other ones. >> > >> > On Fri, 8 Jan 2021 at 21:07, aksain bhati <[email protected]> wrote: >> > > >> > > >> > > Hello, >> > > can you please help me to generate a final report after running >> playbook >> > > I have different playbooks for execution and I want a single report >> file for all. >> > > So that non-technical team can review the output. >> > > Please tell if it is possible in CSV format. >> > > >> > > -- >> > > 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/6ce0c54f-0465-4241-a29d-0ab97432e4e2n%40googlegroups.com >> > < >> https://groups.google.com/d/msgid/ansible-project/6ce0c54f-0465-4241-a29d-0ab97432e4e2n%40googlegroups.com>. >> >> > >> > >> > >> > -- >> > Dick Visser >> > Trust & Identity Service Operations Manager >> > GÉANT >> > >> > -- >> > 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] <mailto: >> [email protected]>. >> > To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/ansible-project/dc3fb386-15ce-4c18-98d0-4b38ba8d7f9bn%40googlegroups.com >> > < >> https://groups.google.com/d/msgid/ansible-project/dc3fb386-15ce-4c18-98d0-4b38ba8d7f9bn%40googlegroups.com?utm_medium=email&utm_source=footer>. >> >> >> >> -- >> Ecommerce and Linux consulting + Perl and web application programming. >> Debian and Sympa administration. Provisioning with Ansible. >> >> -- > 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/27256f15-e6f1-4373-9c63-9b12d0fdf439n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/27256f15-e6f1-4373-9c63-9b12d0fdf439n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CANZN0neK9Jpbt-b7QdDkgJvAB0%2BP4gnoWO-UUCxpwxoRgscyWA%40mail.gmail.com.
