dmsimard / ara-archive

This repository is an historical archive of https://github.com/dmsimard/ara, please use https://github.com/openstack/ara instead.
https://github.com/openstack/ara
GNU General Public License v3.0
120 stars 19 forks source link

expand callback to send results to central ara server from multiple points #109

Open senorsmile opened 8 years ago

senorsmile commented 8 years ago

My use case is: We have a central jenkins server that usually runs ansible. However, some nodes are only reachable from our local network at first (until firewalls are opened from aws) and we have to run jobs temporarily from our laptops. This leaves no audit trail.

Ideally the callback could be given a hostname/ip of a central ARA server that receives the results of runs, inserts the info into its database and presents it in the UI.

I saw that a possibly realted issue to build a rest API that was opened then closed: https://github.com/dmsimard/ara/issues/19

dmsimard commented 8 years ago

This can be done right now when using a central database such as MySQL instead of sqlite. There's a documented example here: http://ara.readthedocs.io/en/latest/configuration.html#ara-database

There will be an API, eventually.