mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
commit
ec2fc3adf8
1 changed files with 5 additions and 0 deletions
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
|
||||
|
|
Loading…
Reference in a new issue