The vagrantfile creates 3 VM in Virtualbox 7.0.10 with update of guest additions, of apt and upgrade and installation of python and ansible on the master node with ssh access to the workers
vagrant up master
vagrant up w1 w2
Also, make sure to download the file for guest addition and to install it with the code of vagrant, not with the automatic update from virtualbox, as it is buggy and will cause issues.
Overall, a lot of dependencies and issues are taken care of in the background, and a fresh setup is created for playing around with a little cluster that can be controlled by Ansible, and for instance create a Kubernetes cluster.