From d1c8979d5b447c8a163659e6f0650deba7f7b559 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Mon, 17 Feb 2025 16:46:15 -0600 Subject: [PATCH] install.yml deb block always remove venv if present --- roles/kolibri/tasks/install.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/kolibri/tasks/install.yml b/roles/kolibri/tasks/install.yml index 81e879b41..026088eb4 100644 --- a/roles/kolibri/tasks/install.yml +++ b/roles/kolibri/tasks/install.yml @@ -78,6 +78,12 @@ path: "{{ kolibri_exec_path }}" when: sym.stat.islnk is defined and sym.stat.islnk # end test + + - name: Remove virtual environment {{ kolibri_venv_path }} if present + file: + path: "{{ kolibri_venv_path }}" + state: absent + # https://kolibri.readthedocs.io/en/latest/install/ubuntu-debian.html claims: # "When you use the PPA installation method, upgrades to newer versions # will be automatic, provided there is internet access available."