itnok.install_ros_ubuntu
install-ros-ubuntu
Install ROS on an Ubuntu host.
Steps performed are:
- Using role itnok.manage_pkg_ubuntu:
- Make sure build_essentials package is installed
- Add ROS repository key
- Install choosen ROS metapackage & basic tools
- Run
rosdep init(only if needed) - Update ROS dependencies
:exclamation: Requirements
None.
:abcd: Role Variables
| Variable | Description | Default Value |
|---|---|---|
install_ros_distro |
Short name of the ROS distribution to install | melodic |
install_ros |
Name of the meta to install (ros-base, desktop, desktop-full) |
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_ros_ubuntu }
vars:
install_ros_distro: "melodic"
install_ros: "desktop-full"
:guardsman: License
MIT (read more)
Install
ansible-galaxy install itnok.install_ros_ubuntuLicense
mit
Downloads
1k
Owner
