diff --git a/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml b/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml index 9da09889..d89fe70c 100644 --- a/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml +++ b/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml @@ -52,10 +52,17 @@ recurse: true state: directory -- name: Remove {{ ovos_installer_user_home }}/.venvs/ovos Python virtualenv +- name: Remove {{ ovos_installer_user_home }}/.venvs/ovos Python virtualenv and requirements.txt files ansible.builtin.file: path: "{{ ovos_installer_user_home }}/.venvs/ovos" state: absent + loop: + - "{{ ovos_installer_user_home }}/.venvs/ovos" + - /tmp/core-requirements.txt + - /tmp/gui-requirements.txt + - /tmp/skills-requirements.txt + - /tmp/listener-requirements.txt + - /tmp/satellite-requirements.txt when: ovos_installer_cleaning | bool tags: - uninstall