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