Shows messages for uncaught exceptions from called modules in async_wrapper output. (#4591)
This commit is contained in:
parent
503c2b6158
commit
4d75f9b4bc
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ def _run_module(wrapped_cmd, jid, job_path):
|
||||||
"failed" : 1,
|
"failed" : 1,
|
||||||
"cmd" : wrapped_cmd,
|
"cmd" : wrapped_cmd,
|
||||||
"data" : outdata, # temporary notice only
|
"data" : outdata, # temporary notice only
|
||||||
|
"stderr": stderr,
|
||||||
"msg" : traceback.format_exc()
|
"msg" : traceback.format_exc()
|
||||||
}
|
}
|
||||||
result['ansible_job_id'] = jid
|
result['ansible_job_id'] = jid
|
||||||
|
|
Loading…
Reference in a new issue