Ansible Lab: 3 nodes setup: control node (ansible installed) + 2 workers in Vagrant (Rocky Linux 9 box). Current setup supports 2 vagrant providers:
Release | Description |
---|---|
Rocky Linux 9 Box Complete | Latest Rocky Linux box release. Requires 1 GB RAM & 1 vCPU per node. |
CentOS 7 Box Complete | Older CentOS 7 box release. Requires 256 MB RAM & 1 vCPU per node. |
- Supported Host OS:
- Linux
- MacOS
- Windows
- Vagrant >= 2.1.5 (latest tested 2.2.19)
- VirtualBox >= 5.2.18
- (alternatively) libvirt (QEMU/KVM) = 8.6.0-5.fc37
- Supported Guest OS: rockylinux/9 box (CentOS successor)
sudo dnf install @virtualization vagrant vagrant-libvirt vagrant-sshfs vagrant-hosts vagrant-cachier
vagrant up
vagrant ssh control-node -c "ansible-playbook /vagrant/provisioning/ansible/playbook.yml"
vagrant destroy