https://github.com/rarrais/ansible-role-ros2
An Ansible Role that installs ROS 2 (Robot Operating System) on Ubuntu 🤖
https://github.com/rarrais/ansible-role-ros2
ansible ansible-role ros2 ubuntu
Last synced: 11 months ago
JSON representation
An Ansible Role that installs ROS 2 (Robot Operating System) on Ubuntu 🤖
- Host: GitHub
- URL: https://github.com/rarrais/ansible-role-ros2
- Owner: rarrais
- License: mit
- Created: 2019-12-18T17:15:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T08:26:48.000Z (over 2 years ago)
- Last Synced: 2025-03-28T14:51:12.178Z (about 1 year ago)
- Topics: ansible, ansible-role, ros2, ubuntu
- Homepage:
- Size: 23.4 KB
- Stars: 16
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ROS 2 (Robot Operating System)
=========
[](https://travis-ci.org/rarrais/ansible-role-ros2)
An Ansible Role that installs ROS 2 (Robot Operating System) on Ubuntu. 🤖
Requirements
------------
None.
Role Variables
--------------
Available variables are listed below, along with default values (see `defaults/main.yml`):
```yaml
# Retrieved from ROS2 installation instructions
ros2_gpg_key_url: https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc
ros2_repository_url: http://packages.ros.org/ros2/ubuntu
# Options: bouncy; crystal; dashing (LTS); eloquent; foxy (LTS)
ros2_distribution: foxy
# Options: desktop (recommended); ros-base (bare bones)
ros2_configuration: desktop
# Default username and group for catkin_ws installation
ros2_user:
name: ubuntu
group: ubuntu
dev_ws: dev_ws
ros2_domain_id: 0
install_argcomplete: true
# List of ROS packages to be installed without ros- prefix
ros2_packages:
```
Dependencies
------------
None.
Example Playbook
----------------
Example to install ROS desktop-full configuration with turtlesim on the host system with a custom (existing) username:
```yaml
- hosts: localhost
connection: local
become: true
vars:
ros2_user:
name: rarrais
group: rarrais
ros2_configuration: desktop
ros2_packages:
- turtlesim
roles:
- rarrais.ros2
```
License
-------
MIT
Author Information
------------------
This role was created in 2019 by [Rafael Arrais](https://github.com/rarrais).