Commit 3f85a82a by Brian Coca

use global to fail as its not in self

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
parent 524c7bd7
......@@ -636,7 +636,7 @@ class LinuxHardware(Hardware):
if e.errno == errno.ENOENT:
pass
else:
self.fail_json(msg=e.strerror)
module.fail_json(msg=e.strerror)
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