Skip to content

Commit

Permalink
purge opencv installation before installing jetpack
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilby59 committed Nov 21, 2023
1 parent b3c6a34 commit 0b285e4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ansible/roles/cuda/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
- name: Gather package facts
ansible.builtin.package_facts:
manager: apt
- name: Remove OpenCV installation
become: true
ansible.builtin.apt:
name:
- "*opencv"
state: absent
purge: true

- name: Install apt packages
become: true
ansible.builtin.apt:
name:
- nvidia-jetpack
update_cache: true
when: "'nvidia-jetpack' not in ansible_facts.package"

- name: Add settings to autoware.env
ansible.builtin.blockinfile:
Expand Down

0 comments on commit 0b285e4

Please sign in to comment.