mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-17 16:08:35 -05:00
Deal with missing HOME env var
This commit is contained in:
committed by
Shane McDonald
parent
9660e27246
commit
332c802317
+2
-1
@@ -1463,7 +1463,8 @@ class BaseTask(object):
|
|||||||
|
|
||||||
if containerized:
|
if containerized:
|
||||||
# We don't want HOME passed through to container groups.
|
# We don't want HOME passed through to container groups.
|
||||||
params['envvars'].pop('HOME')
|
# TODO: remove this conditional after everything is containerized
|
||||||
|
params['envvars'].pop('HOME', None)
|
||||||
|
|
||||||
if isinstance(self.instance, AdHocCommand):
|
if isinstance(self.instance, AdHocCommand):
|
||||||
params['module'] = self.build_module_name(self.instance)
|
params['module'] = self.build_module_name(self.instance)
|
||||||
|
|||||||
Reference in New Issue
Block a user