From b03e50c3d11eb26c3bf15662a707560054b18b38 Mon Sep 17 00:00:00 2001 From: Aurelio Jargas Date: Sun, 23 Mar 2025 07:25:50 +0100 Subject: [PATCH] ensure-python-command: Install venv in Zuul-scoped path To avoid possible clashes with tooling already using `~/.local/`, let's create a new `.local/_zuul_venv/` parent directory for all the Zuul-created venvs. Change-Id: I62a7bff927a5d337fbb05ae8bcd70c530bce4de4 --- roles/ensure-python-command/defaults/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ensure-python-command/defaults/main.yaml b/roles/ensure-python-command/defaults/main.yaml index 52b75fffc..f4ee78244 100644 --- a/roles/ensure-python-command/defaults/main.yaml +++ b/roles/ensure-python-command/defaults/main.yaml @@ -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 }}"