1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

add corresponding log for WorkflowJob submission

This commit is contained in:
AlanCoding 2018-04-26 09:30:19 -04:00
parent ccada295ee
commit 84d9273012
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

@ -259,6 +259,7 @@ class TaskManager():
else:
if type(task) is WorkflowJob:
task.status = 'running'
logger.info('Transitioning %s to running status.', task.log_format)
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