Merge pull request #3622 from bcoca/fix_the_stat_fix

use global to fail as its not in self
reviewable/pr18780/r1
Michael DeHaan 12 years ago
commit 99f1852c6d

@ -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],

Loading…
Cancel
Save