Skip to content

Commit

Permalink
reorder tasks order
Browse files Browse the repository at this point in the history
Signed-off-by: amc-nu <[email protected]>
  • Loading branch information
amc-nu committed Jul 24, 2024
1 parent 2464476 commit 5e689f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
11 changes: 2 additions & 9 deletions ansible/roles/ros2/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,23 +269,16 @@
- name: Upgrade CMake
block:
# Follow drirections 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"
ansible.builtin.apt_repository:
repo: deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ {{ ansible_distribution_release }} main
filename: kitware
- name: "{{ block_name }}: delete gpg key"
ansible.builtin.file:
path: /usr/share/keyrings/kitware-archive-keyring.gpg
state: absent
- 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 }}: apt update"
ansible.builtin.apt:
update_cache: true
state: present
- name: "{{ block_name }}: install kitware-archive-keyring"
ansible.builtin.apt:
name: kitware-archive-keyring
- name: "{{ block_name }}: install newer cmake"
ansible.builtin.apt:
name: cmake
Expand Down
12 changes: 6 additions & 6 deletions ansible/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
private: false
roles:
- role: artifacts
- role: ptp4l_client
when: prompt_configure_network == 'y'
- role: enlarge_txqueue
when: prompt_configure_network == 'y'
- role: netplan
when: prompt_configure_network == 'y'
- role: autoware
- role: cuda
- role: cyclonedds
Expand All @@ -29,9 +35,3 @@
- role: tier4_hdr_camera_driver
when: prompt_install_camera_driver == 'y'
- role: ros2
- role: ptp4l_client
when: prompt_configure_network == 'y'
- role: enlarge_txqueue
when: prompt_configure_network == 'y'
- role: netplan
when: prompt_configure_network == 'y'

0 comments on commit 5e689f6

Please sign in to comment.