Ansible playbook to setup my Arch Linux machines (i.e., meant to be run against localhost)
- This is meant for my machine. You can use it as a guide, but please don't blindly run it on your machine (it will break things).
- This is meant to be run in the Post-installation section of the Installation guide (i.e., after your partitions are setup, user account is created, fstab is setup, chroot, etc...)
- Install the necessary packages
sudo pacman -S git python - Clone this repo
... - Install Ansible
uv sync - Install the Ansible requirements
uv run ansible-galaxy install -r requirements.yml - (Optional) Edit the variables in
group_vars - (Optional) Run the playbook in check mode to view potential changes
uv run ansible-playbook main.yml --ask-become-pass --check - Run the playbook (enter your user's password when prompted)
uv run ansible-playbook main.yml --ask-become-pass
To update everything (Python packages + Ansible roles) to the latest versions:
uv lock --upgrade && uv run ansible-galaxy install -r requirements.yml --force