You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very helpful to get the actual error encountered by the Python script on a failure, rather than the opaque "Unexpected failure during module execution" from Ansible.
Perhaps something as simple as wrapping the entire run() function in a try which raises errors.AnsibleError with the real message on failure would be a good start.