1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
This commit is contained in:
chris meyers 2018-10-18 09:11:34 -04:00 committed by mabashian
parent ea29e66a41
commit 2742b00a65

View File

@ -156,11 +156,11 @@ class WorkflowDAG(SimpleDAG):
if p.job: if p.job:
if p.job.status == 'successful': if p.job.status == 'successful':
if node in (self.get_dependencies(p, 'success_nodes') + if node in (self.get_dependencies(p, 'success_nodes') +
self.get_dependencies(p, 'always_nodes')): self.get_dependencies(p, 'always_nodes')):
return False return False
elif p.job.status == 'failed': elif p.job.status == 'failed':
if node in (self.get_dependencies(p, 'failure_nodes') + if node in (self.get_dependencies(p, 'failure_nodes') +
self.get_dependencies(p, 'always_nodes')): self.get_dependencies(p, 'always_nodes')):
return False return False
else: else:
return False return False