mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
introduced with 9e277aabb033b3ec823b4a2db7c0f7e315eaaf0b
This commit is contained in:
@@ -150,7 +150,7 @@ def run_gluster(gargs, **kwargs):
|
||||
if rc != 0:
|
||||
module.fail_json(msg='error running gluster (%s) command (rc=%d): %s' % (' '.join(args), rc, out or err))
|
||||
except Exception:
|
||||
e = get_exception
|
||||
e = get_exception()
|
||||
module.fail_json(msg='error running gluster (%s) command: %s' % (' '.join(args), str(e)))
|
||||
return out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user