mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 12:51:04 +00:00
Merge pull request #9881 from resmo/fix/missing-json-jsonfile-caching
facts caching: fix missing json in jsonfile caching
This commit is contained in:
5
lib/ansible/cache/jsonfile.py
vendored
5
lib/ansible/cache/jsonfile.py
vendored
@@ -19,6 +19,11 @@ import os
|
||||
import time
|
||||
import errno
|
||||
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
|
||||
from ansible import constants as C
|
||||
from ansible import utils
|
||||
from ansible.cache.base import BaseCacheModule
|
||||
|
||||
Reference in New Issue
Block a user