This Ansible playbook automates the process of setting up an Ubuntu desktop environment. It installs essential packages, repositories, and configurations to streamline your workflow.
- Ansible installed on your local machine.
- Ubuntu Desktop operating system.
You can install Ansible on Ubuntu using the following steps:
-
Update your package index:
sudo apt update
-
Install Ansible:
sudo apt install ansible
-
Verify the installation by checking the Ansible version:
ansible --version
-
Clone this repository to your local machine:
git clone [email protected]:sneycampos/setup-desktop-ansible.git
-
Navigate to the cloned repository:
cd setup-desktop-ansible
-
Execute the Ansible playbook:
Tools
ansible-playbook tools.yml --ask-become-pass
Setup Docker, Docker Compose and New User
ansible-playbook setup.yml --ask-become-pass
- Updates the apt cache.
- Adds specified apt repositories.
- Installs essential apt packages:
- curl
- wget
- gdebi
- git
- zsh
- htop
- docker
- docker compose
- flameshot
- firefox
- libreoffice
- copyq
- Installs specified snap packages:
- code
- discord
- postman
- slack
- spotify
- telegram-desktop
- Downloads and installs the Warp Terminal.
- Adds the current user to the docker group to run docker without sudo
- Installs NVM (Node Version Manager) to manage multiple Node.js versions.
You can customize this playbook by modifying the tools.yml
and docker.yml
files to include additional apt repositories, packages, or configurations according to your requirements.
- Ensure that you have necessary permissions to execute the playbook and install packages.
- Review the playbook before execution to understand the changes it will make to your system.
This playbook is provided "as is" and without warranty. Use it at your own risk.