ansible: fix is_good_temp_dir() log format
This commit is contained in:
parent
c1c7e5171d
commit
7e04ee8af9
|
@ -250,7 +250,7 @@ def is_good_temp_dir(path):
|
||||||
if not os.access(tmp.name, os.X_OK):
|
if not os.access(tmp.name, os.X_OK):
|
||||||
raise OSError('filesystem appears to be mounted noexec')
|
raise OSError('filesystem appears to be mounted noexec')
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
LOG.debug('temp dir %r unusable: %s: %s', path, e)
|
LOG.debug('temp dir %r unusable: %s', path, e)
|
||||||
return False
|
return False
|
||||||
finally:
|
finally:
|
||||||
tmp.close()
|
tmp.close()
|
||||||
|
|
Loading…
Reference in New Issue