This playbook installs development tools for any of my Ubuntu workstations.
sudo apt update && sudo apt upgrade -y
sudo apt install ansible -y
git clone https://github.com:elliotpryde/ansible-ubuntu-desktop.git
ansible-galaxy install -r requirements.yaml
Copy secrets.yaml.tmpl
to secrets.yaml.tmpl
and fill it with your secrets.
ansible-playbook playbook.yaml --ask-become-pass
This machine has a Github SSH key now that the playbook has run so that we can update the repository remote to use SSH authentication.
git remote rm origin
git remote add origin [email protected]:elliotpryde/ansible-ubuntu-desktop.git