You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/plugins/cache
Sam Doran 479b26fe31 Do not try to import simplejson in jsonfile.py (#40983)
With the addition on ajson.py in cbb6a7f4e8, two
new classes were created: AnsibleJSONDecoder and AnsibleJSONEncoder. These
classes are used when calling json.looads() and json.dumps().

This works fine with everything except the jsonfile.py cache plugin, which would
first try to import simplejson as json, then fall back to json. When simplejson
is installed, the load() or dump methods from simplejson are called, which then
try to use the AnsibleJSONEncoder/AnsibleJSONDecoder subclass from ajson.py.
But asjon.py imports json, not simplejson, and things blow up.
7 years ago
..
__init__.py Fix cache timeout behavior 7 years ago
base.py
jsonfile.py Do not try to import simplejson in jsonfile.py (#40983) 7 years ago
memcached.py Correct doc for cache plugin 7 years ago
memory.py
mongodb.py Correct doc for cache plugin 7 years ago
pickle.py Correct doc for cache plugin 7 years ago
redis.py Correct doc for cache plugin 7 years ago
yaml.py Correct doc for cache plugin 7 years ago