Vagrant + Ansible to configure Debian
- Virtualbox: https://www.virtualbox.org/wiki/Downloads
- Debian:
sudo apt-get install virtualbox
- OS X:
brew cask install virtualbox
- Debian:
- Vagrant: https://www.vagrantup.com/downloads.html
- Debian:
sudo apt-get install vagrant
- OS X:
brew cask install vagrant
- Debian:
- Vagrant vbquest plugin:
vagrant plugin install vagrant-vbguest
- Ansible: http://docs.ansible.com/ansible/intro\_installation.html
- Debian:
sudo apt-get install ansible
- OS X:
brew install ansible
- Debian:
- Python requirements:
pip install -r requirements.txt
- Create VM share directory:
mkdir -p ~/Documents/dev-vm-share
Create a host_vars/default/vault
from host_vars/default/template.vault
by replacing the bits in <>
with your config values / secrets.
Follow steps in rax/roles/README.md
git submodule init
git submodule update
view roles/rax/README.md
ansible-vault encrypt host_vars/default/vault
vagrant up
- Shutdown the VM.
- Retinal displays: enable HiDPI support in VirtualBox display options.
- Boot the VM to launch the login manager.
- Maximize; then login for fullscreen hi-res UI.