Infrastructure-as-code for friendly neighbourhood single board computer? - eviltoast

I have an Odroid N2+ running Arch Linux ARM that I just love. I have installed a bunch of shit on it like jellyfin (TV), miniflux (RSS), gonic/airsonic-refix (music), soju/gamja (IRC), komga (comics).

I am starting to lose track of things. Like which port which service is running on. Sometimes I even forget which service I am running.

It would be nice to maintain a text configuration that I can use to provision this setup if I have to reinstall everything (as is tradition) and something I can glance over to get a state of things.

Any ideas for this? I feel like something like ansible should for this. I tried looking up stuff for this but search results always show some sweaty nerd managing kubernetes on a fleet of Raspberry Pis (the sweaty nerd calls it “homelab”). Before I start hacking my own stuff I would like to hear if someone else has experience with this.

Thanks.

  • loathsome dongeater@lemmygrad.mlOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    I use podman wherever possible. Some things don’t have upstream container images though which sucks. If I was simply using podman for everything I could just backup the /etc/containers/systemd folder which would have been nice. But I also want to backup things like firewall and DNS configuration because I keep forgetting how those things work.