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

use global to fail as its not in self

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
Brian Coca 2013-07-22 10:54:20 -04:00
parent 524c7bd791
commit 3f85a82ae9

View file

@ -636,7 +636,7 @@ class LinuxHardware(Hardware):
if e.errno == errno.ENOENT: if e.errno == errno.ENOENT:
pass pass
else: else:
self.fail_json(msg=e.strerror) module.fail_json(msg=e.strerror)
self.facts['mounts'].append( self.facts['mounts'].append(
{'mount': fields[1], {'mount': fields[1],