tier4 / edge-auto-jetson

https://sensor.tier4.jp
Apache License 2.0
13 stars 10 forks source link

fix(ansible): enable ansible cuda run multiple times #54

Open bgilby59 opened 4 months ago

bgilby59 commented 4 months ago

Description

Previously ansible script gives error related to jetpack installation if run multiple times due to incoherence with opencv installation (jetpack tries to install opencv, however, we use a custom opencv installation that conflicts with this.). Solution is to uninstall opencv before installing jetpack, and then reinstall opencv afterwards.

Tests performed

Ran ansible multiple times successfully.

Effects on system behavior

Allows ansible to be run multiple times without error

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

After all checkboxes are checked, anyone who has write access can merge the PR.