mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 10:11:05 -03: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:
|
||||
# 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):
|
||||
params['module'] = self.build_module_name(self.instance)
|
||||
|
||||
Reference in New Issue
Block a user