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.
- Get and boot an Arch installation media
- Connect to the Internet
- Ensure you have a fast mirror configured for the installation phase:
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
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
- Requirements
- Build Vagrant box
packer build packer/
- Create virtual machine
VAGRANT_EXPERIMENTAL="typed_triggers" vagrant up
- Use
vagrant ssh
to get a shell