I'm experimenting with VMs for local development (using VirtualBox and Vagrant); this repo holds the Ansible playbooks that I'm using to provision those VMs.
For example, I've got a VM that just needs nginx (it's for the development of an angular.js app with no server-side component). Here's the relevant bit of the Vagrantfile:
config.vm.provision :ansible do |ansible|
ansible.sudo = true
ansible.playbook = "~/Projects/ansible/nginx.yml"
ansible.inventory_path = "ansible_hosts"
end