A set of Ansible playbooks for provisioning Arch Linux. Inspired by pigmonkey/spark playbook.
This playbook now relies on archinstall for initial bootstrapping.
-
Download and verify latest ArchLinux ISO:
make iso
-
Write the ISO image to a USB flash drive:
DEVICE=mmcblk0 make bootable
-
Boot into ArchLinux Live CD and connect to the Internet.
Start
iwctl
prompt, then connect to WiFi with:station wlan0 connect <ssid>
-
Install
archinstall
.sudo pacman -Sy archinstall git
-
Run guided installer.
python -m archinstall
-
Clone repository:
git clone https://github.com/rkiyanchuk/ansible-arch-linux
-
After the reboot login into the new system, configure WiFi via
nmtui
, and run Ansible to install and configure full-featured Arch Linux:ansible-galaxy install -r requirements.yaml ansible-playbook --ask-become-pass configure.yaml
sudo fprint-enroll ruslan
Generating SSH key:
ssh-keygen -t ed25519 -C "${USER}@${HOSTNAME}-$(date -I)"