Skip to content

Commit

Permalink
Add rmw-cyclonedds-cpp to ansible (#67)
Browse files Browse the repository at this point in the history
* Add rmw-cyclonedds-cpp to ansible

Signed-off-by: Kenji Miyake <[email protected]>

* Add settings to .bashrc

Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Apr 9, 2021
1 parent d78b434 commit ebf431c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ansible/roles/ros2/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,17 @@
state: latest
update_cache: yes
become: yes

- name: ROS2 (install rmw-cyclonedds-cpp)
apt:
name: "ros-{{ rosdistro }}-rmw-cyclonedds-cpp"
state: latest
update_cache: yes
become: yes

- name: ROS2 (Add settings to .bashrc)
lineinfile:
dest: ~/.bashrc
line: "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp"
state: present
become: no

0 comments on commit ebf431c

Please sign in to comment.