From 31e97b180a247d3b4532b714b28057e5cda246f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Trellu?= Date: Thu, 16 Nov 2023 18:38:16 -0500 Subject: [PATCH] [ansible] Remove requirements file --- ansible/roles/ovos_installer/tasks/virtualenv/venv.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml b/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml index 9da0988..d89fe70 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