Skip to content

Commit

Permalink
ansible. fix linting issues
Browse files Browse the repository at this point in the history
Signed-off-by: amc-nu <[email protected]>
  • Loading branch information
amc-nu committed Sep 5, 2024
1 parent ba8c028 commit 5bc90dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 30 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/artifacts/defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
script_download_dir: /tmp
artifacts_script_download_dir: /tmp
2 changes: 0 additions & 2 deletions ansible/roles/artifacts/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,3 @@
dest: "{{ data_dir }}/tensorrt_yolox/semseg_color_map.csv"
mode: "644"
checksum: sha256:3d93ca05f31b63424d7d7246a01a2365953705a0ed3323ba5b6fddd744a4bfea


29 changes: 2 additions & 27 deletions ansible/roles/ros2/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,11 @@
- libbullet-dev
- libpython3-dev
- python3-wheel
# - python3-colcon-common-extensions
- python3-flake8
- python3-pip
- python3-numpy
- python3-pytest-cov
# - python3-rosdep
- python3-pytest-covdep

Check warning on line 41 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (covdep)
- python3-setuptools
# - python3-vcstool
# - python3-rosinstall-generator
- libasio-dev
- libtinyxml2-dev
- libcunit1-dev
Expand Down Expand Up @@ -214,27 +210,6 @@
path: "{{ source_build_dir }}/jetson-containers"
register: opencv_build_dir_exist

# - name: Build and install OpenCV
# block:
# - name: "{{ block_name }}: Download install script"
# ansible.builtin.git:
# repo: https://github.com/dusty-nv/jetson-containers.git
# dest: "{{ source_build_dir }}/jetson-containers"
# version: L4T-R35.1.0
# - name: "{{ block_name }}: install dependencies"
# shell: ./opencv_install_deps.sh
# args:
# chdir: "{{ source_build_dir }}/jetson-containers/scripts"
# become: true
# - name: "{{ block_name }}: execute install script"
# shell: ./opencv_install.sh https://nvidia.box.com/shared/static/5v89u6g5rb62fpz4lh0rz531ajo2t5ef.gz OpenCV-4.5.0-aarch64.tar.gz
# args:
# chdir: "{{ source_build_dir }}/jetson-containers/scripts"
# become: true
# vars:
# block_name: OpenCV
# when: not opencv_build_dir_exist.stat.exists

- name: Check YAML build directory existence
ansible.builtin.stat:
path: "{{ source_build_dir }}/yaml-cpp"
Expand Down Expand Up @@ -268,7 +243,7 @@

- name: Upgrade CMake
block:
# Follow drirections here: https://apt.kitware.com/
# Follow directions here: https://apt.kitware.com/
- name: "{{ block_name }}: update gpg key"
shell: wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
- name: "{{ block_name }}: update repository info"
Expand Down

0 comments on commit 5bc90dc

Please sign in to comment.