/ansible-role-install-ros-ubuntu

Install ROS on an Ubuntu host.

Primary LanguageJinjaMIT LicenseMIT

install-ros-ubuntu

Build Status GitHub tag Ansible Role

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

❗ Requirements


None.

🔡 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

🔗 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

📓 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"

💂‍♂️ License


MIT (read more)