Setup Ubuntu 20.04 Server With Ansible

If you want a more hands on approach you can follow the following tutorial: https://johannes-pirmann.com/setup-ubuntu-20-04/

Prerequisites

Step 1 - Get the Playbook

Go to the GitHub Repository and download the ansible playbook.

Step 2 - Adapt the provision.yml file

Go to the provision.yml file and set your desired username and the corresponding password. Additionally, specify the path to your public SSH key and the host which should be used.

Step 3 - Execute the playbook

To execute the ansible playbook run the following command:

ansible-playbook provision.yml --ask-pass

Now you need to enter the root password.