Apps/utilities to store facts?

25 views
Skip to first unread message

Guy Knights

unread,
May 22, 2016, 2:30:14 PM5/22/16
to ansible...@googlegroups.com

Are there any apps out there designed to store facts from ansible runs, kind of like puppetdb? I think it would be kind of useful to have this info readily available to view/query outside of playbook runs.

Guy

J Hawkesworth

unread,
May 22, 2016, 3:25:29 PM5/22/16
to Ansible Project
You can cache facts either in a json file or using redis - have a look at fact caching on this page here:

http://docs.ansible.com/ansible/playbooks_variables.html#fact-caching

Hope this helps,

Jon

Dave Cottlehuber

unread,
May 22, 2016, 4:02:02 PM5/22/16
to ansible...@googlegroups.com
I've been stashing them in CouchDB, but haven't as of yet found anything
useful/interesting to do with the actual data.

What sort of queries or structure is of interest?

A+
Dave

Kai Stian Olstad

unread,
May 23, 2016, 7:41:04 AM5/23/16
to ansible...@googlegroups.com, Guy Knights
Check out Ansible Configuration Management Database
https://github.com/fboender/ansible-cmdb

You can also check out the example her
https://rawgit.com/fboender/ansible-cmdb/master/example/html_fancy.html

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages