set workflow status to failed if we find a node w/ a missing UJT

see: https://github.com/ansible/tower/issues/2576
This commit is contained in:
Ryan Petrello
2018-07-30 16:11:44 -04:00
parent 55d1f5c11c
commit 184db58fa3
2 changed files with 10 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ class WorkflowDAG(SimpleDAG):
job = obj.job
if obj.unified_job_template is None:
is_failed = True
continue
elif not job:
return False, False