Here is an example... how to fire up a fully operational LAMP stack in under 5 minutes. It should work as a template to help build what you want.
Insure you install the most current version of VirtualBox and Vagrant, then:
open terminal
$ cd /var/www
$ mkdir project
$ cd project
$ git clone git@github.com:skecskes/vagrant-centos7-ansible-lamp.git
$ vagrant up
Enjoy
Hope this helps
Kevin