Skip to content

Repository files navigation

Linux installation playbook

CI

This playbook configures most of the software I use on my Linux workstation :

Playbook Variables

linux_user: vagrant

The desktop user running the playbook.

How to run this playbook ?

Make sure Ansible is installed

python3 -m pip install --user ansible
ansible --version

In case python3 or pip is not installed

# tested on Fedora, update below command for your system
sudo dnf install python3
python3 -V

sudo dnf install python3-pip
python3 -m pip -V

Install required roles

ansible-galaxy install -r requirements.yml

Run the entire playbook

ansible-playbook -i inventory.ini \
  --ask-become-pass \
  --extra-vars "linux_user=fedora" \
  main.yml

Update inventory.ini to run on a specific server (default is localhost).

To run a specific part of the playbook

ansible-playbook -i inventory.ini \
  --ask-become-pass \
  --extra-vars "linux_user=fedora" \
  --tags gnome \
  --skip-tags tlp \
  main.yml

License

MIT

Notes

Tested on Fedora 43, 44.

About

Ansible playbook for linux configuration

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors