Open jeremy-donson opened 1 year ago
I was looking into using Terraform and terraform-provider-libvirt but Vagrant looks interesting.
I do have master and worker playbooks separated.
The way I'm provisioning infrastructure is in my k8s-vm repo which uses a shell script to call virt-install
along with a custom version of Ubuntu 22.04 iso configured using cloud-config
(which also allows me to have pre-installed ssh keys).
I'll take a look at converting my libvirt virt-install.sh script to a Vagrantfile. Once I get that working I can look into VirtualBox.
I've created a Vagrantfile for libvirt. For now I haven't added support for calling the Ansible playbooks. Feel free to do a pull request for a VirtualBox version.
Is there an accompanying Vagrantfile for local efforts using VirtualBox?
? If so, then we would use the vagrant features that support ansible....
Useful Reference
Separating master and worker ansible playbooks also seems wise.
EG: