A blueprint on how developer VM's can be provisioned from any host with Vagrant installed. Let's make us developers' lives easier!
- Have vagrant (version 1.8.6) installed
- Have virtualbox installed
- Have some space on your machine left. 5 GB will be more than sufficient.
- Internet connection
Next to this README file there is another file called Vagrantfile which defines how your virtual
machine is going to be configured.
- Download and Install VirtualBox
- Download and Install Vagrant
- Open a terminal and navigate into the directory where the
Vagrantfileis placed inside - Run
$ vagrant upif you are starting the VirtualMachine for the first time. If the VM is already available and you just want to provision the machine run$ vagrant provision - Internet connection
The following combinations of tools have been tested and working
| Vagrant | VirtualBox | VmWareFusion | vagrant-vmware-desktop | VmWare Workstation |
|---|---|---|---|---|
| 2.0.2 | 5.2.6 | 1.0.3 | 14.1.2 | |
| 2.1.2 | 5.2.14 | 10.1.2 | 1.0.3 |
- Adjust the provisioning in the directory
provisioningto your needs (add roles, extend playbook, whatever...) - If you're using passwords create a vault and a vaultpassword file as described in the file provisioning/group_vars/vault
- Open a command line interface next to the Vagrantfile:
$ vagrant upand grab a coffee. - Your wonderful new dev vm should be up and running now
- More roles from Ansible-Galaxy (Download of specific versions to avoid breaking changes)
- Templating example