Fix cache timeout behavior
This commit is contained in:
parent
8bccd0830b
commit
c1400ce909
1 changed files with 1 additions and 1 deletions
2
lib/ansible/plugins/cache/__init__.py
vendored
2
lib/ansible/plugins/cache/__init__.py
vendored
|
@ -153,7 +153,7 @@ class BaseFileCacheModule(BaseCacheModule):
|
|||
def has_expired(self, key):
|
||||
|
||||
if self._timeout == 0:
|
||||
return True
|
||||
return False
|
||||
|
||||
cachefile = "%s/%s" % (self._cache_dir, key)
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue