Automatic deployment of LEMP stack with (mostly) default configuration.
Debian stretch
Run
ansible-galaxy install geerlingguy.php geerlingguy.nginx geerlingguy.mysql
ansible-playbook playbook.yml
Run vagrant up
Run vagrant ssh
Copy IP address of interface number 2, and place into hosts
file.
Add the following line to /etc/hosts
192.168.121.223 example.com
Add the following line to C:\Windows\System32\drivers\etc\hosts
:
192.168.121.223 example.com
Replace 192.168.121.223
with IP you copied in previous step.
Go to example.com. In case of successful provision you should get php info.