This is an experimental Ansible setup for my personal development environment. It is most certainly impractical for everyone, but I wanted to learn how to use Ansible for configuration management.
- Development laptop (Thinkpad T460p) running Ubuntu 17.10
- Home backup server "VCR" (named for its form factor)
- Install Ansible
git clone https://github.com/jmdeldin/box.git && cd box
To run an arbitrary command:
ansible -i hosts all -m shell -a 'echo hi'
To execute specific tagged tasks from the "playbook":
ansible-playbook -i hosts --tags "ruby" thinkpad.yml
To run the entire playbook:
ansible-playbook -K -i hosts system76.yml
Jon-Michael Deldin, dev@jmdeldin.com
Licensed under the WTFPL.