An Ansible Playbook that performs unattended Ubuntu Server 22.04 VM installations on VMware vSphere.
Prepare an Ubuntu machine as Ansible Controller by running the following commands:
sudo apt update && sudo apt install python3 python3-pip git p7zip-full xorrisogit clone https://github.com/rutgerblom/ubuntu-autoinstall.git ~/git/ubuntu-autoinstallpip3 install --upgrade -r ~/git/ubuntu-autoinstall/pip_requirements.txtansible-galaxy collection install --upgrade -r ~/git/ubuntu-autoinstall/requirements.yml
Copy the variables_sample.yml file to variables.yml and modify the settings so that they match your environment and your requirements. Start the Ubuntu Server deployment by running: ansible-playbook DeployUbuntu.yml