Shows messages for uncaught exceptions from called modules in async_wrapper output. (#4591)

pull/18777/head
James S. Martin 8 years ago committed by Matt Clay
parent 503c2b6158
commit 4d75f9b4bc

@ -105,6 +105,7 @@ def _run_module(wrapped_cmd, jid, job_path):
"failed" : 1,
"cmd" : wrapped_cmd,
"data" : outdata, # temporary notice only
"stderr": stderr,
"msg" : traceback.format_exc()
}
result['ansible_job_id'] = jid

Loading…
Cancel
Save