On 12/4/19 11:00 PM, Ansible_USer2019 wrote: > Hi Group, > > i want to run several jobs. How can the JSON result stored in a database or > something like that to check what happened? > I am not using tower or awx. > > So do i need to pipe the output into a text file and run another script to > parse the content and import everything into > a SQL database? > > Thank you
The logical way would be to use one of the existing callback plugins or write your own: https://docs.ansible.com/ansible/latest/plugins/callback.html Regards Racke > > -- > 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/9e05d8fb-4521-4e13-abb4-08dc2fdffb7d%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/9e05d8fb-4521-4e13-abb4-08dc2fdffb7d%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/f14ee8d0-a1d2-acbe-2dae-4f6f620163be%40linuxia.de.
signature.asc
Description: OpenPGP digital signature
