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 to yes.
  • ros2_source: remote (default) or local.
  • ros2_release: used for the remote source, this should be the release string as found on the ROS2 Releases page. Defaults to galactic-20210523-linux-amd64.
  • ros2_download_dest: used for the remote source, the path to download the ros2 release archive to. Defaults to ~/ros2.tar.bz2.
  • ros2_local_archive: used for the local 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 to yes.
  • rosdep_init: bool specifying whether or not to run rosdep init after installation. Defaults to yes. Defaults to yes.

Example Playbook

- hosts: servers
  roles:
     - { role: laura7089.ros2, ros2_release: "foxy-20211007" }

License

AGPL3

About

Installs ROS2 onto an (Ubuntu) host

Install
ansible-galaxy install Laura7089/ros2-ansible
GitHub repository
License
agpl-3.0
Downloads
37
Owner
Undergraduate at University of York