Skip to content

loganmarchione/ansible-arch-linux

Repository files navigation

ansible-arch-linux

Lint

Ansible playbook to setup my Arch Linux machines (i.e., meant to be run against localhost)

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/loganmarchione/ansible-arch-linux.git
    cd ansible-arch-linux
    
  3. Install the Ansible requirements
    ansible-galaxy install -r requirements.yml
    
  4. (Optional) 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
    

TODO

  • Add reflector pacman hook

About

Ansible playbook to setup my Arch Linux machines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages