From e725b16cd919321d350d2a92532ffcdbf500dfca Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Tue, 22 Nov 2016 09:32:25 -0500 Subject: [PATCH] Change job-run project refresh launch type to "sync" --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 4bb8387a7d..0c8aa8acce 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -1019,7 +1019,7 @@ class RunJob(BaseTask): def pre_run_hook(self, job, **kwargs): if job.project and job.project.scm_type: - local_project_sync = job.project.create_project_update() + local_project_sync = job.project.create_project_update(launch_type="sync") local_project_sync.job_type = 'run' local_project_sync.save() project_update_task = local_project_sync._get_task_class()