mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 03:45:01 -02:30
Add more RBAC, filter out AJT/AJs from unified jobs lists
Comment out placeholder in serializer
This commit is contained in:
@@ -23,7 +23,6 @@ from awx.main.models import (
|
||||
Project,
|
||||
ProjectUpdate,
|
||||
SystemJob,
|
||||
# &&&&&& WorkflowApproval,
|
||||
WorkflowJob,
|
||||
WorkflowJobTemplate
|
||||
)
|
||||
@@ -239,11 +238,6 @@ class TaskManager():
|
||||
task.send_notification_templates('running')
|
||||
logger.debug('Transitioning %s to running status.', task.log_format)
|
||||
schedule_task_manager()
|
||||
# elif type(task) is WorkflowApproval: (&&&&&& placeholder for notification work)
|
||||
# task.status = 'pending'
|
||||
# task.send_notification_templates('pending')
|
||||
# logger.debug('Transitioning %s to pending status.', task.log_format)
|
||||
# schedule_task_manager()
|
||||
elif not task.supports_isolation() and rampart_group.controller_id:
|
||||
# non-Ansible jobs on isolated instances run on controller
|
||||
task.instance_group = rampart_group.controller
|
||||
|
||||
Reference in New Issue
Block a user