fgci-org / fgci-ansible

:microscope: Collection of the Finnish Grid and Cloud Infrastructure Ansible playbooks
MIT License
54 stars 18 forks source link

Better overview of playbook runs #171

Open martbhell opened 7 years ago

martbhell commented 7 years ago

We could perhaps use ARA for this - https://ara.readthedocs.io/ https://github.com/openstack/ara

Web interface example: https://ara.readthedocs.io/en/latest/faq.html#what-does-the-web-interface-look-like

By default it writes the data into $HOME/.ara/ansible.sqlite

To view details one could: "ara-manage runserver -h 0.0.0.0 -p 8080" and use a web browser. One can also generate static reports or send the results to a remote sql server.

It needs ara installed (pip install ara) and point ansible to look for callback plugins where ara callback plugin is installed:

export ANSIBLE_CALLBACK_PLUGINS=/usr/lib/python2.7/site-packages/ara/plugins/callbacks