ros2
ros2
Installs ROS2 from released binaries on an Ubuntu (focal) host. Available on Ansible Galaxy.
Role Variables
ros2_install_location
: the fully-qualified path to extract the ros2 files to. Defaults to~/ros2
.ros2_enable_universe
: bool specifying whether or not to enable the ubuntu universe repos. Defaults toyes
.ros2_source
:remote
(default) orlocal
.ros2_release
: used for theremote
source, this should be the release string as found on the ROS2 Releases page. Defaults togalactic-20210523-linux-amd64
.ros2_download_dest
: used for theremote
source, the path to download the ros2 release archive to. Defaults to~/ros2.tar.bz2
.ros2_local_archive
: used for thelocal
source, the archive containing the ROS2 install on the ansible controller. Defaults to./ros2.tar.bz2
.ros2_shell_startup
: bool specifying whether or not to modify~/.profile
to source the ROS2 environment on startup. Defaults toyes
.rosdep_init
: bool specifying whether or not to runrosdep init
after installation. Defaults toyes
. Defaults toyes
.
Example Playbook
- hosts: servers
roles:
- { role: laura7089.ros2, ros2_release: "foxy-20211007" }
License
AGPL3
Install
ansible-galaxy install Laura7089/ros2-ansible
License
agpl-3.0
Downloads
37
Owner
Undergraduate at University of York