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

This commit is contained in:
James S. Martin 2016-08-30 10:10:01 -04:00 committed by Matt Clay
parent 503c2b6158
commit 4d75f9b4bc

View file

@ -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