This playbook is made to automate the installation and configuration of an Ubuntu machine for personal use.
Install Ansible on your machine:
sudo apt install ansible
The main script is installer.yml
which is the entry point for the
ansible playbook. This script has four main steps:
- Install dependencies: installs basic dependencies for Ubuntu, some git tools and configures fish shell and kitty terminal.
- Download applications: installs desktop applications such as Google Chrome, Jetbrains Toolbox or Postman
- Setup dotfiles: clones my dotfiles repository, substitutes all
the configuration files using
stow
and sets uppyenv
. - Wallpaper: sets the wallpaper to a custom one.
You can run the complete playbook with the following command:
ansible-playbook -K -i inventory.ini installer.yml
Alternatively, you can run each step separately using the tags that
are defined in the installer.yml
file.
ansible-playbook -K -i inventory.ini installer.yml --tags "tag_name"