mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Project updates must run on controller nodes
For project updates jobs triggered due a job template run, we must ensure that project_update job to run on at the same controller which dispatched the original job template, otherwise the job might fail for being unable to find the playbook YAML file.
This commit is contained in:
parent
3fc63489f1
commit
6d4b4cac37
@ -1865,7 +1865,7 @@ class RunJob(BaseTask):
|
||||
|
||||
if sync_needs:
|
||||
pu_ig = job.instance_group
|
||||
pu_en = job.execution_node
|
||||
pu_en = Instance.objects.me().hostname
|
||||
|
||||
sync_metafields = dict(
|
||||
launch_type="sync",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user