Ansible playbook designed to automate laptop setup (Pop!_OS 22.04 LTS).
Install python and pip
sudo apt install python3 python3-pip -y
Install ansible
sudo pip3 install ansible psutil
Clone this repository and cd into this project folder
git clone https://github.com/helioha/ansible-laptop-setup.git && cd ansible-laptop-setup
Install ansible requirements
ansible-galaxy install -r requirements.yml -p ./roles
To run the playbook
ansible-playbook main.yml --ask-become-pass
To run only certain tags in the playbook
ansible-playbook main.yml --ask-become-pass --tags "tag1,tag2,tag3"