mirror of
https://github.com/ansible/awx.git
synced 2026-07-01 03:18:04 -02:30
Merge pull request #5553 from chrismeyersfsu/fix-waiting_blocked
just like we fail running tasks fail waiting tasks
This commit is contained in:
@@ -665,7 +665,7 @@ class BaseTask(Task):
|
||||
'''
|
||||
Run the job/task and capture its output.
|
||||
'''
|
||||
instance = self.update_model(pk, status='running', celery_task_id='' if self.request.id is None else self.request.id)
|
||||
instance = self.update_model(pk, status='running')
|
||||
|
||||
instance.websocket_emit_status("running")
|
||||
status, rc, tb = 'error', None, ''
|
||||
|
||||
Reference in New Issue
Block a user