install_ros2_ubuntu
install-ros2-ubuntu
Install ROS2 on an Ubuntu host.
Steps performed are:
- Using role itnok.manage_pkg_ubuntu:
- Make sure build_essentials package is installed
- Add ROS2 repository key
- Install choosen ROS2 metapackage & basic tools
- Check installed packages
- Install RTI Connext DDS & middleware (Programmatically APPROVES license agreement!)
:exclamation: Requirements
None.
:abcd: Role Variables
Variable | Description | Default Value |
---|---|---|
install_ros2_distro |
Short name of the ROS distribution to install | dashing |
install_ros2 |
Name of the meta to install (ros-base , desktop ) |
ros-base |
:link: Dependencies
To install dependencies use:
$ ansible-galaxy install <dependecy.name>
Installation of the required Ansible Roles can also be simply addressed with:
$ ansible-galaxy install -r requirements.yml
:notebook: Example Playbook
Here an example of how to use this role in your playbooks:
---
- hosts: servers
remote_user: ubuntu # optional (your remote user)
gather_facts: yes # optional
become: yes
roles:
- { role: itnok.install_ros2_ubuntu }
vars:
install_ros2_distro: "dashing"
install_ros2: "desktop"
:guardsman: License
MIT (read more)
Install
ansible-galaxy install itnok/ansible-role-install-ros2-ubuntu
License
mit
Downloads
1180
Owner