mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Fixing up fact_cache use in VariableManager
This commit is contained in:
parent
932d1e57f7
commit
d977da5b41
2 changed files with 11 additions and 6 deletions
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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue