Demo project that shows how to use Ansible to install Software from GitHub. Example code for How to keep software installed from GitHub updated with Ansible blog article.
- Ansible >= 2.9
- Python and Pip
- github3.py
You can test this repo, without having to install Ansible on your local machine with Vagrant.
Just run vagrant up, to spin a new machine.
To run the playbook on the VM:
vagrant ssh
cd /vagrant
ansible-playbook -i hosts setup.yml
- Install Ansible - Follow the instructions for your distribution here.
- Install dependencies:
pip install -r requirements.txtansible-galaxy install -r requirements.yml
- Run ansible playbook
ansible-playbook -i hosts setup.yml
👤 Bruno Paz
- Website: brunopaz.dev
- Github: @brpaz
- Twitter: @brunopaz88
Copyright © 2021 Bruno Paz.
This project is MIT licensed.