Ansible Playbooks
Installation type | Difficulty to do this |
---|---|
Running as a Systemd service |
Easy |
Running in a container |
Install the `ansible` package in your OliveTin container. |
Example config.yaml
Many users use OliveTin to easily execute Ansible playbooks, somtimes as a simple alternative to AWX.
Run an Ansible Playbook
actions:
- title: Run Ansible Playbook
icon: "🇦"
shell: ansible-playbook -i /etc/hosts /root/myRepo/myPlaybook.yaml
timeout: 120
You probably want to set the [timeout] to more than the default 3 seconds.