Skip to content

rboonzaijer/ansible

Repository files navigation

ansible

Ansible playbooks to quickly set up a fresh minimal installation with all required development tools and configuration.

  • Minimal installation
  • Kubuntu 26.04

Initial setup

# Make sure ansible is not installed with apt
sudo apt update -y
sudo apt purge ansible -y
sudo apt autoremove -y

# Install ansible with python
# https://docs.ansible.com/projects/ansible/latest/installation_guide/intro_installation.html
sudo apt install pipx -y
pipx install --include-deps ansible
pipx ensurepath
source ~/.bashrc
ansible --version

# Upgrade ansible
pipx upgrade --include-injected ansible

Download playbooks

curl -L -o ansible.zip https://github.com/rboonzaijer/ansible/archive/refs/heads/main.zip

unzip ansible.zip -d ~/ansible-zip

cd ~/ansible-zip/*/

Run

# Debug variables
ansible-playbook -i inventory.ini --ask-become-pass playbook-debug.yml

# Install desktop tools
ansible-playbook -i inventory.ini --ask-become-pass playbook-desktop.yml --limit local_desktop

# Update/Upgrade
ansible-playbook -i inventory.ini --ask-become-pass playbook-upgrade.yml --limit local_desktop

# After installation, reload docker group & profile
newgrp docker
source ~/.bashrc

# Cleanup
cd ~
rm ~/ansible.zip
rm -r ansible-zip/

Add SSH-Key to git accounts

cat ~/.ssh/id_ed25519.pub
docker login
npm login

Also:

  • 1password: login
  • chrome: login
  • firefox: login
  • vscode: signin with github (sync)

About

Ansible playbooks for provisioning a development workstation (Kubuntu 26.04)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors