Commit fc9aa5f0 by Michael DeHaan

Continue on mount errors, don't fail the setup module.

parent f0eafff1
......@@ -633,10 +633,7 @@ class LinuxHardware(Hardware):
size_total = statvfs_result.f_bsize * statvfs_result.f_blocks
size_available = statvfs_result.f_bsize * (statvfs_result.f_bavail)
except OSError, e:
if e.errno == errno.ENOENT:
pass
else:
module.fail_json(msg=e.strerror)
continue
self.facts['mounts'].append(
{'mount': fields[1],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment