Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.11 KB

Arch Linux Ansible

Ansible playbook to setup Arch Linux

Explanation

  • 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...)

Requirements

  1. Install the necessary packages
    sudo pacman -S ansible git python
    
  2. Clone this repo
    git clone https://github.com/rtomik/arch_linux_ansible.git && cd arch_linux_ansible
    
  3. Install the Ansible requirements
    ansible-galaxy install -r requirements.yml
    
  4. Edit the variables in group_vars
  5. (Optional) Run the playbook in check mode to view potential changes
    ansible-playbook main.yml --ask-become-pass --check
    
  6. Run the playbook (enter your user's password when prompted)
    ansible-playbook main.yml --ask-become-pass