1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

support clear_facts

This commit is contained in:
Chris Meyers 2017-07-05 10:26:49 -04:00
parent f1b1c4ee97
commit 06edb6774a

View File

@ -104,8 +104,7 @@ class CacheModule(BaseCacheModule):
return False
def delete(self, key):
self.mc.delete(self.translate_host_key(key))
self.mc.delete(self.translate_modified_key(key))
self.set(key, {})
def flush(self):
host_names = self.mc.get(self.host_names_key)