From aab70e17fa65e6c44c7144700c1248a944bfc427 Mon Sep 17 00:00:00 2001 From: Benjamin Gilby Date: Wed, 22 Nov 2023 11:36:13 +0900 Subject: [PATCH] remove opencv build dir after removing opencv installation --- ansible/roles/cuda/tasks/main.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ansible/roles/cuda/tasks/main.yaml b/ansible/roles/cuda/tasks/main.yaml index ba203fc..97b3651 100644 --- a/ansible/roles/cuda/tasks/main.yaml +++ b/ansible/roles/cuda/tasks/main.yaml @@ -6,6 +6,11 @@ state: absent purge: true +- name: Remove OpenCV build directory + ansible.builtin.file: + path: "{{ ansible_env.HOME }}/source_builds/jetson-containers" + state: absent + - name: Install apt packages become: true ansible.builtin.apt: