Commit Graph

6 Commits (3d858b7c02be3703aea7329436e7c77d818028f7)

Author SHA1 Message Date
Toshio Kuratomi 5ed7a55990 Restore json import for redis as well. Switch preference to simplejson for speed 2014-12-23 13:14:14 -08:00
Rene Moser b5e99c852e facts caching: fix missing json in jsonfile caching 2014-12-23 16:15:26 +01:00
Brian Coca ed380136bc removed uneeded and posibly error producing json import
now uses utils.jsonify which does proper utf8 encoding
2014-12-19 20:05:00 -05:00
Michael Scherer d4bf3127ec Add a explicit error when fact_caching_connection is not set
By default, jsonfile is not documented, and the error message
when fact_caching_connection is not set is a bit puzzling, so
a error message would be beeter ( documentation too ). While redis
is faster for bigger setup, jsonfile is fine for a small setup
and is easier to deploy.

The module will then stop ansible-playbook, as this match better
the philosophy of Ansible being a fail-fast system.
2014-12-19 14:36:15 +01:00
Devin Christensen 8130ed8de0 Allow .gitkeep in the jsonfile fact cache dir 2014-12-02 22:34:58 -07:00
Brian Coca 91b0149c52 a cache plugin that stores facts persistently in local json dumps 2014-11-18 01:05:40 -05:00