I use Ansible to setup/configure my Ubuntu 24.04+ servers.
Install Ansible and Sshpass on your local machine:
brew install ansible sshpass- Download Ubuntu Server from https://ubuntu.com/download/server
- Create a bootable USB drive using Balena Etcher (MacOS) or Rufus (Windows). Both tools are free.
- Boot from the USB drive and install Ubuntu Server:
- Create
arguser
- Create
Run the following command from ~/.dotfiles/playbooks/ directory:
ansible-playbook --ask-pass --ask-become-pass server/setup.ymlMake sure to enter your arg user password when prompted.