1 installation
Luca Matteo Spoljarevic edited this page 2026-02-27 21:40:24 +01:00

installation

Playbooks for OS installation, post-install setup, repos, and tooling across Arch Linux, RHEL, Raspberry Pi OS, and generic installs.


Top-level playbooks

File / folder Purpose
archinstall.yml Arch post-install: pacman packages, Flatpak, user dirs, config/pictures sync, AUR (yay), etc.
archosinstall.yml Full Arch Linux install from live environment: partitioning, pacstrap, chroot, GRUB, locale, timezone.
piinstall.yml Raspberry Pi OS post-install: packages, Cockpit, Podman, fail2ban, firewalld, SSH port.
rhelinstall.yml RHEL post-install: EPEL/CRB, Docker CE, dnf packages, Flatpak, Snap, Netdata, KDE Plasma, local RPMs.
tailscale.yml Install Tailscale and bring the node online using an auth key (TAILTOKEN).
addCachyosRepoToArch.yml Add CachyOS repos to Arch: GPG key, keyring/mirrorlist packages, pacman.conf block.
ansibleCollections.yml Install Ansible Galaxy collections (e.g. containers.podman, community.general, kewlfft.aur).
Arch Linux/ Arch-specific post-install and snippets (see Arch-Linux.md).
developement/ Empty; reserved for development.

Quick run examples

  • Arch post-install (big playbook):
    ansible-playbook -i inventory.ini installation/archinstall.yml -K

  • Arch from live (destructive):
    Edit vars (disk, locale, hostname, root password, etc.), then:
    ansible-playbook -i localhost, -c local installation/archosinstall.yml -K

  • Raspberry Pi OS:
    ansible-playbook -i inventory.ini installation/piinstall.yml -K

  • RHEL:
    ansible-playbook -i inventory.ini installation/rhelinstall.yml -K
    (RHEL playbook references role_path and vars files; ensure paths exist.)

  • Tailscale:
    TAILTOKEN=tskey-... ansible-playbook -i inventory.ini installation/tailscale.yml -K

  • CachyOS repos (Arch):
    ansible-playbook -i inventory.ini installation/addCachyosRepoToArch.yml -K

  • Collections:
    ansible-playbook -i inventory.ini installation/ansibleCollections.yml -K

Use the correct inventory and -K where playbooks use become.