An Ansible Playbook that performs an unattended Ubuntu Server 20.04.2 VM installation on vSphere.
Prepare an Ubuntu machine by running the following commands:
- sudo apt install python3 python3-pip git xorriso
- sudo pip3 install ansible pyvim pyvmomi
- ansible-galaxy collection install community.general community.vmware ansible.posix
- git clone https://github.com/rutgerblom/ubuntu-autoinstall.git
Modify the variables in DeployUbuntu.yml so that they match your environment. Start the Ubuntu Server deployment by running:
sudo ansible-playbook DeployUbuntu.yml