mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 15:34:01 -07:00
Implement fact cache flushing alongside a command-line argument to invoke it.
This commit is contained in:
parent
aa419044c4
commit
917e868f65
7 changed files with 32 additions and 7 deletions
3
lib/ansible/cache/base.py
vendored
3
lib/ansible/cache/base.py
vendored
|
@ -13,3 +13,6 @@ class BaseCacheModule(object):
|
|||
|
||||
def delete(self, key):
|
||||
raise NotImplementedError("Subclasses of {} must implement the '{}' method".format(self.__class__.__name__, self.__name__))
|
||||
|
||||
def flush(self):
|
||||
raise NotImplementedError("Subclasses of {} must implement the '{}' method".format(self.__class__.__name__, self.__name__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue