mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 17:23:09 +00:00
committed by
Toshio Kuratomi
parent
16a1585ffc
commit
560831752e
@@ -740,8 +740,8 @@ class PyVmomiHelper(object):
|
||||
'msg': 'Cannot suspend VM in the current state %s' % current_state}
|
||||
|
||||
except Exception:
|
||||
result = {'changed': False, 'failed': True,
|
||||
'msg': get_exception()}
|
||||
e = get_exception()
|
||||
result = {'changed': False, 'failed': True, 'msg': e}
|
||||
|
||||
if task:
|
||||
self.wait_for_task(task)
|
||||
|
||||
Reference in New Issue
Block a user