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 ansible git python
- Clone this repo
git clone https://github.com/loganmarchione/ansible-arch-linux.git cd ansible-arch-linux
- Install the Ansible requirements
ansible-galaxy install -r requirements.yml
- (Optional) 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
- Add reflector pacman hook