Ansible + Vagrant + Virtualbox
Laravel Vagrant machine
- Ubuntu Bionic
- Nginx Latest
- Redis Latest
- MySQL 8.0
- PHP 7.3
- Composer
Install
- Install VirtualBox and Vagrant
- Clone project
cd dev-vm
- Run
vagrant up
Configure
MySQL users and databases
- Edit:
roles/mysql/vars/main.yml
PHP version
- Edit:
roles/php/defaults/main.yml
Path to project
- Edit:
Vagrantfile
(config.vm.synced_folder
)