As per https://www.virtualbox.org/wiki/Downloads
As per https://www.vagrantup.com/docs/installation/
vagrant plugin install vagrant-env
vagrant plugin install vagrant-hostmanager
vagrant plugin install vagrant-persistent-storage
sudo easy_install pip
sudo pip install --upgrade pip
pip install virtualenv
sudo apt install python-virtualenv
mkdir .venvs
virtualenv .venvs/ansible-2.8
source .venvs/ansible-2.8/bin/activate
https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
TODO There are probably other host packages that need to be installed
pip install 'ansible==2.8'
git clone [email protected]:memelet/eramba-vagrant.git
cd eramba-vagrant
ansible-galaxy install --ignore-errors -r requirements.yml
This directory will be mounted in the VM as /var/lib/mysql
.
mkdir -p .data/mysql
ansible-galaxy install -r requirements.yml
Adjust the variables in .env
as needed.
vagrant up
(Replace "eramba" with VAGRANT_HOSTNAME
in .env if changed)
As per https://docs.google.com/document/d/1agWTzlJ965N0f-F6dqGxCHsQMaLXa2m1GhCDX1pqXHs