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