mirror of
https://github.com/ansible/awx.git
synced 2026-04-14 14:39:26 -02:30
Forcibly ensure that the correct ansible-runner command is used for CG pods
This commit is contained in:
@@ -3045,6 +3045,7 @@ class AWXReceptorJob:
|
|||||||
pod_spec = {**default_pod_spec, **pod_spec_override}
|
pod_spec = {**default_pod_spec, **pod_spec_override}
|
||||||
|
|
||||||
pod_spec['spec']['containers'][0]['image'] = ee.image
|
pod_spec['spec']['containers'][0]['image'] = ee.image
|
||||||
|
pod_spec['spec']['containers'][0]['args'] = ['ansible-runner', 'worker', '--private-data-dir=/runner']
|
||||||
|
|
||||||
if self.task:
|
if self.task:
|
||||||
pod_spec['metadata'] = deepmerge(
|
pod_spec['metadata'] = deepmerge(
|
||||||
|
|||||||
Reference in New Issue
Block a user