mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Deal with missing HOME env var
This commit is contained in:
committed by
Shane McDonald
parent
9660e27246
commit
332c802317
@@ -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