mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 17:28:51 -03:30
Add more RBAC for approval nodes
This commit is contained in:
@@ -482,6 +482,10 @@ class TaskManager():
|
||||
found_acceptable_queue = False
|
||||
idle_instance_that_fits = None
|
||||
if isinstance(task, WorkflowJob):
|
||||
# &&&&&& Timeout implementation (pseudo-code)
|
||||
# if (tz_now() - task.created).seconds > the_timeout_in_seconds:
|
||||
# logger.error('meaning log message')
|
||||
# mark it as status failed and set a reasonable `job_explanation` value
|
||||
if task.unified_job_template_id in running_workflow_templates:
|
||||
if not task.allow_simultaneous:
|
||||
logger.debug("{} is blocked from running, workflow already running".format(task.log_format))
|
||||
|
||||
Reference in New Issue
Block a user