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