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.
It currently targets an Ubuntu 13.10 machine, specifically a System76
Galago UltraPro laptop. If targeting other machines, remove the
include: system76.yml line from
This environment is geared towards Ruby, R, and LaTeX, but for the full
list of packages, take a look at
- Install Ansible
git clone https://github.com/jmdeldin/box.git && cd box
To run an arbitrary command:
ansible -i ansible/hosts all -m shell -a 'echo hi'
To execute specific tagged tasks from the "playbook":
ansible-playbook -i ansible/hosts --tags "ruby" ansible/setup.yml
To run the entire playbook:
ansible-playbook -i ansible/hosts ansible/setup.yml -K
Jon-Michael Deldin, email@example.com
Licensed under the WTFPL.