Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.
/ archsible Public archive

Ansible playbook to fully manage your Arch linux installation from bootstrap to day-to-day changes.

License

Notifications You must be signed in to change notification settings

maxbrunet/archsible

Repository files navigation

Archsible

Archived: This was an attempt to combine a distribution and a tool I loved to create a declarative setup, but it turned out to require too much effort, I now use NixOS which is built with this philosophy.

Ansible playbook to fully manage your Arch linux installation from bootstrap to day-to-day changes.

This is a work in progress and still at an early stage of development, I aim to only manage my personal Linux installation for the moment. But if I have time, I'll try to turn it into a flexible framework to support different pieces of hardware and software with a lot of room for customization.

Installation

echo 'Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
  • Clone the repository
git clone https://github.com/maxbrunet/archsible.git
  • Install pip and the requirements:
pacman -Sy python-pip
cd archsible
pip install -r requirements.txt
ansible-galaxy install -r requirements.yml
  • Use the Ansible variables to configure Archsible to suit your needs (See README files in each roles)
  • Run the boostrap playbook
ansible-playbook --inventory localhost, bootstrap.yml

Make changes

Once your Arch linux installation is up and running, make regular changes through Ansible by editing the playbook, roles and variables and apply them by using directly archsible.yml.

ansible-playbook --inventory localhost, archsible.yml

Test with Packer and Vagrant

packer build packer/
  • Create virtual machine
VAGRANT_EXPERIMENTAL="typed_triggers" vagrant up
  • Use vagrant ssh to get a shell

About

Ansible playbook to fully manage your Arch linux installation from bootstrap to day-to-day changes.

Topics

Resources

License

Stars

Watchers

Forks