mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Tasks are only 'can_start' if they are in the 'new' state
This commit is contained in:
parent
3e88894f85
commit
6941d89502
@ -370,7 +370,7 @@ class CommonTask(PrimordialModel):
|
||||
|
||||
@property
|
||||
def can_start(self):
|
||||
return bool(self.status in ('new', 'waiting'))
|
||||
return bool(self.status == 'new')
|
||||
|
||||
@property
|
||||
def task_impact(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user