mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fixing up fact_cache use in VariableManager
This commit is contained in:
2
lib/ansible/plugins/cache/jsonfile.py
vendored
2
lib/ansible/plugins/cache/jsonfile.py
vendored
@@ -73,7 +73,7 @@ class CacheModule(BaseCacheModule):
|
||||
except ValueError:
|
||||
# FIXME: this is in display now, but cache plugins don't have that
|
||||
#utils.warning("error while trying to write to %s : %s" % (cachefile, str(e)))
|
||||
return dict()
|
||||
raise KeyError
|
||||
finally:
|
||||
f.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user