Skip to content

Commit 7c7f534

Browse files
AlanCodingjbradberry
authored andcommitted
Deal with missing HOME env var
1 parent 609780a commit 7c7f534

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awx/main/tasks.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,8 @@ def run(self, pk, **kwargs):
14431443

14441444
if containerized:
14451445
# We don't want HOME passed through to container groups.
1446-
params['envvars'].pop('HOME')
1446+
# TODO: remove this conditional after everything is containerized
1447+
params['envvars'].pop('HOME', None)
14471448

14481449
if isinstance(self.instance, AdHocCommand):
14491450
params['module'] = self.build_module_name(self.instance)

0 commit comments

Comments
 (0)