hi,
i would like to see ansible playbook output via html,
someone did this ? or can help with that ?
Thanks
Rafi
hi,
i would like to see ansible playbook output via html,
someone did this ? or can help with that ?
Thanks
Rafi
I guess you could say Ansible Tower and AWX do this
You could also use something like jenkins to run your playbooks and view the output in Jenkins.
No doubt you could use other tools such as Foreman or Rundeck.
If you want to make something yourself you could probably build on the ‘yaml’ stdout callback plugin - see https://docs.ansible.com/ansible/2.5/plugins/callback.html for a list of available callback plugins. I haven’t looked at the code but you’d probably be able to wrap the yaml output as an html page if that’s the sort of thing you are after.
Or you can just create a callback plugin that does this.