mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 07:54:00 -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/memory.py
vendored
3
lib/ansible/cache/memory.py
vendored
|
@ -35,3 +35,6 @@ class CacheModule(object):
|
|||
|
||||
def delete(self, key):
|
||||
del self._cache[key]
|
||||
|
||||
def flush(self):
|
||||
self._cache = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue