mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Merge pull request #3864 from ansible/container-launch-error
when isolated or container jobs fail to launch, set job status to error
This commit is contained in:
commit
5bb7e69a4d
@ -172,6 +172,7 @@ class IsolatedManager(object):
|
||||
if runner_obj.status == 'failed':
|
||||
self.instance.result_traceback = runner_obj.stdout.read()
|
||||
self.instance.save(update_fields=['result_traceback'])
|
||||
return 'error', runner_obj.rc
|
||||
|
||||
return runner_obj.status, runner_obj.rc
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user