From 0badc2fff70836eaf5b0f37168043ac3e7327f84 Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Fri, 30 Apr 2021 12:16:52 -0400 Subject: [PATCH] Explicitly set args for container group pods A user may try to use an EE that does not have the custom entrypoint script used by the default AWX EE --- awx/main/utils/execution_environments.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/utils/execution_environments.py b/awx/main/utils/execution_environments.py index 5096209185..ed6bb87f34 100644 --- a/awx/main/utils/execution_environments.py +++ b/awx/main/utils/execution_environments.py @@ -20,6 +20,7 @@ def get_default_pod_spec(): { "image": get_default_execution_environment().image, "name": 'worker', + "args": ['ansible-runner', 'worker', '--private-data-dir=/runner'], } ], },