This repository holds different vagrantfiles and associated provisioning for various setups I've needed.
-
Install Virtual Box
-
Install Vagrant or the gem:
gem install vagrant
-
Install Ansible
brew install ansible
-
Drop the Vagrantfile, the ansible directory, and ansible.cfg file into your project directory.
-
Update the project-specific variables in roles/common/vars/main.yml.
-
Spin up the box
vagrant up
-
SSH to the new vagrant box
vagrant ssh
You will be logged in as the vagrant user. Your project directory will be shared to /vagrant.