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.
6 years ago
..
__init__.py Fix cache timeout behavior 6 years ago
base.py Collated PEP8 fixes (#25293) 7 years ago
jsonfile.py Do not try to import simplejson in jsonfile.py (#40983) 6 years ago
memcached.py Correct doc for cache plugin 6 years ago
memory.py Port ansible doc for plugins to use DOCUMENTATION variables 7 years ago
mongodb.py Correct doc for cache plugin 6 years ago
pickle.py Correct doc for cache plugin 6 years ago
redis.py Correct doc for cache plugin 6 years ago
yaml.py Correct doc for cache plugin 6 years ago