mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Add environment variable that sets proot's tmp dir
Only really useful with patched proot containing tmpdir fix
This commit is contained in:
parent
30d88b1829
commit
3a6807c5b4
@ -345,6 +345,8 @@ class BaseTask(Task):
|
||||
if local_site_packages not in python_paths:
|
||||
python_paths.insert(0, local_site_packages)
|
||||
env['PYTHONPATH'] = os.pathsep.join(python_paths)
|
||||
if self.should_use_proot:
|
||||
env['PROOT_TMP_DIR'] = settings.AWX_PROOT_BASE_PATH
|
||||
return env
|
||||
|
||||
def build_safe_env(self, instance, **kwargs):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user