Ansible playbook to setup Arch Linux
- 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 ansible git python
- Clone this repo
git clone https://github.com/rtomik/arch_linux_ansible.git && cd arch_linux_ansible
- Install the Ansible requirements
ansible-galaxy install -r requirements.yml
- Edit the variables in
group_vars
- (Optional) Run the playbook in check mode to view potential changes
ansible-playbook main.yml --ask-become-pass --check
- Run the playbook (enter your user's password when prompted)
ansible-playbook main.yml --ask-become-pass