I've just started using with Vagrant with Varying Vagrant Vagrants (VVV) for WordPress and it is amazing. Everything is out of the box to provision a WordPress instance including port forwarding, provisioning hosts and syslinked public\_html folder.
I'm wondering is there any similar project for a Web Server (Apache/Nginx, PHP & mySQL)? I've seen a few github examples. I'm wondering whats the most popular well supported one that is also streamlined and easy to use.
Edit: I guess in a pinch you can simply delete WP and use your own files
As Vagrant is no longer hot there are outdated collections such as:
https://www.vagrantbox.es/
List of public base boxes.
https://github.com/mcandre/packer-templates
Configurations for generating Vagrant base boxes.
There is famous Chef Bento for core OS images: https://github.com/chef/bento
Yeah, Vagrant is stable but stagnating because of lack of interest )) Go Docker or K8s way.
Back when I was playing with Vagrant I did what your asking by calling an ansible playbook at the end on the vagrant file, the playbook installed Apache and configured firewall, selinux and setup a default website.
you can install literally any software, look for ansible playbooks