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
racke
(Stefan Hornburg)
2
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