mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fixing bugs related to jfonfile cache plugin
* corrupt/invalid file causes tracebacks * incorrect initialization of display/_display in BaseCacheModule class * tweaking the way errors in get() on jsonfile caches work, to raise a proper AnsibleError in that situation so the playbook/task is stopped Fixes #12708
This commit is contained in:
2
lib/ansible/plugins/cache/base.py
vendored
2
lib/ansible/plugins/cache/base.py
vendored
@@ -31,7 +31,7 @@ except ImportError:
|
||||
|
||||
class BaseCacheModule(with_metaclass(ABCMeta, object)):
|
||||
|
||||
display = display
|
||||
_display = display
|
||||
|
||||
@abstractmethod
|
||||
def get(self, key):
|
||||
|
||||
Reference in New Issue
Block a user