No description
  • Shell 45.3%
  • HCL 35.9%
  • Makefile 9.3%
  • Python 5.5%
  • Jinja 4%
Find a file
Pedro Paredes 275467b912
All checks were successful
deploy / deploy (push) Successful in 13m40s
seerr, jellyfin: the rehearsal reads what its asserts judge (THE-122) (#17)
Reviewed-on: #17
Reviewed-by: Minos <noreply+minos@thepit.space>
2026-12-03 17:04:03 +00:00
.forgejo/workflows The merge is the deploy: the workflow, the script, the key and the runbooks (THE-122) (#10) 2026-12-03 06:34:20 +00:00
.mise/locks/pypi-ansible-core/2.21.5 toolchain: the ansible-core sidecar, so a cold checkout installs 2026-12-02 12:28:03 +01:00
bao/recipients subwave: 152 SUB/WAVE, written from the live Guest 2026-12-02 12:49:13 +01:00
bazarr bazarr: the version file carries the archive's v prefix (THE-122) (#16) 2026-12-03 16:47:08 +00:00
docs 117 and 148 mount the NAS themselves and run privileged (THE-122) (#13) 2026-12-03 15:53:25 +00:00
jellyfin seerr, jellyfin: the rehearsal reads what its asserts judge (THE-122) (#17) 2026-12-03 17:04:03 +00:00
lidarr servarr: 104 prowlarr, 103 radarr, 105 sonarr and 106 lidarr, written from the live Guests (#3) 2026-12-02 18:34:50 +00:00
modules/guest 117 and 148 mount the NAS themselves and run privileged (THE-122) (#13) 2026-12-03 15:53:25 +00:00
navidrome 117 and 148 mount the NAS themselves and run privileged (THE-122) (#13) 2026-12-03 15:53:25 +00:00
nzbget nzbget: the rehearsal reads the mount, so the deploy can pass it (THE-122) (#14) 2026-12-03 16:08:41 +00:00
prowlarr servarr: 104 prowlarr, 103 radarr, 105 sonarr and 106 lidarr, written from the live Guests (#3) 2026-12-02 18:34:50 +00:00
qbittorrent qbittorrent: refresh the package lists before the pin (THE-122) (#15) 2026-12-03 16:31:48 +00:00
radarr servarr: 104 prowlarr, 103 radarr, 105 sonarr and 106 lidarr, written from the live Guests (#3) 2026-12-02 18:34:50 +00:00
roles servarr: 104 prowlarr, 103 radarr, 105 sonarr and 106 lidarr, written from the live Guests (#3) 2026-12-02 18:34:50 +00:00
scripts The merge is the deploy: the workflow, the script, the key and the runbooks (THE-122) (#10) 2026-12-03 06:34:20 +00:00
seerr seerr, jellyfin: the rehearsal reads what its asserts judge (THE-122) (#17) 2026-12-03 17:04:03 +00:00
slskd 117 and 148 mount the NAS themselves and run privileged (THE-122) (#13) 2026-12-03 15:53:25 +00:00
sonarr servarr: 104 prowlarr, 103 radarr, 105 sonarr and 106 lidarr, written from the live Guests (#3) 2026-12-02 18:34:50 +00:00
subwave servarr: 104 prowlarr, 103 radarr, 105 sonarr and 106 lidarr, written from the live Guests (#3) 2026-12-02 18:34:50 +00:00
.env.example The merge is the deploy: the workflow, the script, the key and the runbooks (THE-122) (#10) 2026-12-03 06:34:20 +00:00
.gitignore subwave: 152 SUB/WAVE, written from the live Guest 2026-12-02 12:49:13 +01:00
env.map The merge is the deploy: the workflow, the script, the key and the runbooks (THE-122) (#10) 2026-12-03 06:34:20 +00:00
LICENSE repo: the media domain's repository 2026-12-02 00:19:15 +01:00
Makefile The merge is the deploy: the workflow, the script, the key and the runbooks (THE-122) (#10) 2026-12-03 06:34:20 +00:00
mise.lock toolchain: the ansible-core sidecar, so a cold checkout installs 2026-12-02 12:28:03 +01:00
mise.toml pilot: 117 navidrome, written from the live Guest 2026-12-02 00:19:37 +01:00
README.md 117 and 148 mount the NAS themselves and run privileged (THE-122) (#13) 2026-12-03 15:53:25 +00:00

infra-media

OpenTofu + Ansible that declare the media domain's Guests on the Pit homelab — the machines that serve the film, television and music libraries — and the service each of them runs.

Twelve Guests are declared today, in the wave's order, and every one is written from the live machine's own answers:

Guest What it is Guest page Service page
117 navidrome (burns) the music library, a native install on a read-only NFS mount the Guest makes itself docs/guest.md docs/service.md
152 subwave (duku) SUB/WAVE, the library's player, as the upstream Docker Compose stack docs/guest-subwave.md docs/service-subwave.md
104 prowlarr (burns) the indexer manager the three libraries read through docs/guests-arr.md docs/service-arr.md
103 radarr (burns) the film library the same the same
105 sonarr (burns) the television library the same the same
106 lidarr (burns) the music library's manager the same the same
147 nzbget (burns) the usenet downloader, its queues on the NAS docs/guest-nzbget.md docs/service-nzbget.md
148 slskd (burns) the Soulseek client and soularr, the library's bridge docs/guest-slskd.md docs/service-slskd.md
110 qbittorrent (burns) the torrent client, its queues on the NAS docs/guest-qbittorrent.md docs/service-qbittorrent.md
107 bazarr (burns, on .108) the subtitle manager the three libraries call docs/guests-arr.md docs/service-bazarr.md
124 seerr (burns) the request front — a built tree the play asserts rather than installs docs/guests-media.md the same
100 jellyfin (burns) the player, Jellyfin's own apt package pinned by version the same the same

The four Servarrs are one application shape, so they share one role — roles/servarr/ — and each play names its own application, pin and address. What a rebuild of any of them loses, and how the links between them come back, is docs/runbook-arr.md.

<host>/guest/ is the OpenTofu Stack that declares the container, <host>/service/ the Ansible play that installs and keeps the service on it, and roles/ holds the roles more than one play reads: roles/servarr/ for the four Servarr applications — install, unit, seeded configuration, and the Assert rings — and roles/journal/, which every play in the repository declares. Each Guest has a runbook for the parts that are a person's: docs/runbook-navidrome.md (the NFS mount contract), docs/runbook-subwave.md (the station's state, its secrets, and its rebuild), docs/runbook-arr.md (the arr fleet's keys and links, and what a rebuild loses), docs/runbook-nzbget.md (the downloader's mount, its queue and its control port), docs/runbook-qbittorrent.md (the torrent client's mount and queue) and docs/runbook-slskd.md (slskd and soularr, and its two NFS mounts). Everything in both layers is measured from the live machines, so each first plan is an import in place and the first Converge is designed to be a no-op — except on 110 qbittorrent, whose first Converge replaces the helper script's static build with Debian's package (docs/service-qbittorrent.md).

The environment this repo's targets source is fetched, not typed: make env writes .env from the store and the age class, and make check is the credential-free floor — the vendored script against its pin and the map, the deploy's own offline tests, and formatting. Where each name comes from is env.map; the interface itself is documented once, in infra-secrets docs/env-fetch.md.

A merge to main is the deploy: Semaphore applies this repository's declarations in place, one host at a time, and a Guest's declaration changes by a merge, never by a hand edit. The first green run waits on the Operator's prerequisites — the state records, the pool membership, the SSH keys and the service secrets — and docs/deploy.md is the measured list and the order to land them in.

Every deploy Target names its host — make guest HOST=subwave — because this repository declares more than one machine, and make prod walks them in HOSTS order. make check runs the floor, and make help lists what it is made of. The pages are docs/guest.md, docs/guest-subwave.md, docs/guests-arr.md and docs/guests-media.md — the Guests, measured, the last of them covering both layers for the wave's two newest — docs/service.md, docs/service-subwave.md and docs/service-arr.md — what each play installs and why — docs/deploy.md — the deploy and its prerequisites — and the runbooks above.