diff options
author | Wayne Witzel III <wayne@riotousliving.com> | 2018-08-08 14:47:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 14:47:07 +0200 |
commit | 9b5cd4aa6254dbb41328dec2cd4a9ab7e7edfb6e (patch) | |
tree | 8b4b013352274340fe8a827ec3a66ef5e43c0353 | |
parent | Merge pull request #2788 from ryanpetrello/fix-2782 (diff) | |
parent | add current workflow job to running list (diff) | |
download | awx-9b5cd4aa6254dbb41328dec2cd4a9ab7e7edfb6e.tar.xz awx-9b5cd4aa6254dbb41328dec2cd4a9ab7e7edfb6e.zip |
Merge pull request #2789 from AlanCoding/running_wfjts
Add current workflow job to running list
-rw-r--r-- | awx/main/scheduler/task_manager.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/awx/main/scheduler/task_manager.py b/awx/main/scheduler/task_manager.py index d07bfe4c83..96d1e80812 100644 --- a/awx/main/scheduler/task_manager.py +++ b/awx/main/scheduler/task_manager.py @@ -496,6 +496,8 @@ class TaskManager(): if not task.allow_simultaneous: logger.debug(six.text_type("{} is blocked from running, workflow already running").format(task.log_format)) continue + else: + running_workflow_templates.add(task.workflow_job_template_id) self.start_task(task, None, task.get_jobs_fail_chain(), None) continue for rampart_group in preferred_instance_groups: |