
Download Ubuntu 22.04 Server LTS ISOįirst, we must have a bootable ISO file of Ubuntu 22.04 Server jammy jellyfish Linux. If Ubuntu’s autoinstall would leave the networking configuration in place after reboot, I would be able to shave off 5 tasks and more than 10 minutes from this deployment.FAQ Steps to install Ubuntu 22.04 Server on VirtualBoxĮstimated reading time: 11 minutes 1. The deployment kicks off and will take about 15 minutes depending on your environment:Īnd the result is a shiny new Ubuntu Server 20.04 VM: Now run the Playbook with: ansible-playbook DeployUbuntu.yml Modify DeployUbuntu.yml so that the values of the variables match your environment and requirements: Besides that it’s pretty much good to go. You will change some of the values of the variables defined under vars: so that they match your environment. I’ve also tried to use descriptive names for each task to help you understand what is happening. Most of the tasks here are pretty self-explanatory. name: Delete working directory on Ansible Controller

name: Appply the network configuration on ubuntu VM Workingdir: "/00-installer-config.yaml /etc/netplan/00-installer-config.yaml" This together with the supporting files is actually better viewed and cloned on Github.

Recently, while working on a project, I had to come up with a way to automate Ubuntu Server 20.04 VM installations on vSphere.
