1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #3622 from bcoca/fix_the_stat_fix

use global to fail as its not in self
This commit is contained in:
Michael DeHaan 2013-07-22 07:56:49 -07:00
commit 9c9bc09ce6

View file

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