This repository contains Ansible configurations for managing and automating the setup and configuration of an Andino robot. It uses ansible-pull
to pull the configurations directly from this repository and apply them to an Andino robot.
- An Andino robot running Ubuntu (22.04 or 24.04)
- Ansible 2.9+ installed on the robot
- Access to this GitHub repository or the Git URL
Use the official Raspberry Pi Imager to flash an Ubuntu robot (22.04 or 24.04) image to an SDCard. Make sure to configure the WiFi, hostname and if possible add you ssh public key in the settings for the robot.
ssh andino.local # or change andino.local for the ip address of your robot
Use PuTTY or a similar ssh client to connect to andino.local
or the ip address of your robot.
Before you can use ansible-pull
, you must have Ansible installed on your robot. Follow the installation steps for your operating system:
sudo apt update
sudo apt install -y ansible
ansible-pull allows you to pull the latest playbooks and roles from a Git repository and apply them directly to the robot. To run ansible-pull, follow these steps:
- Run ansible-pull to apply the Ansible configuration from the repository to the robot:
ansible-pull -U https://github.com/garyservin/andino_ansible_config.git -K
Explanation of the command:
- -U: Specifies the URL of the Git repository where the Ansible playbook is stored.
- -K: Ansible will ask you for your user's password once at the beginning of the deploy
The ansible-pull command will download the latest version of the repository and apply the configurations to your robot.
This repository includes the following main files:
- playbook.yml: The main Ansible playbook that defines the configuration tasks to be executed on the robot.
- roles/: A directory containing reusable Ansible roles.
- inventory/: Defines the inventory of hosts to be configured
Feel free to modify or extend the playbook and roles as per your infrastructure and requirements.
This repository is licensed under the Apache-2.0 license.