ensure-python-command: Install venv in Zuul-scoped path

To avoid possible clashes with tooling already using `~/.local/<name>`,
let's create a new `.local/_zuul_venv/` parent directory for all the
Zuul-created venvs.

Change-Id: I62a7bff927a5d337fbb05ae8bcd70c530bce4de4
This commit is contained in:
Aurelio Jargas 2025-03-23 07:25:50 +01:00 committed by Aurelio Jargas
parent 35410214c5
commit b03e50c3d1

View File

@ -2,4 +2,4 @@ ensure_python_command_global_symlink: false
ensure_python_command_version: ""
ensure_python_command_existing: ""
ensure_python_command_package: "{{ ensure_python_command_name }}"
ensure_python_command_venv_path: "{{ ansible_user_dir }}/.local/{{ ensure_python_command_package }}"
ensure_python_command_venv_path: "{{ ansible_user_dir }}/.local/_zuul_venv/{{ ensure_python_command_package }}"