pez-infra/ansible/roles
Rasmus "Pez" Wejlgaard 72970e7675
Fix Alloy state ownership after the 1.19 upgrade (#154)
The 1.19 package runs alloy.service as User=alloy; 1.14 ran it as root. The
state left behind in /var/lib/alloy is still root-owned, so the service user
can't write its WAL or positions.yml, every remotecfg pipeline fails to build,
and the host falls back to a cached config and stops shipping.

That took node metrics off london-b, helsinki-a, london-c and nuremberg-a from
last night's deploy. I noticed because the ZFS pool state metric vanished off
london-b, which is the only ZFS host and so the only visible symptom.

Chown the state dir to the service user when anything in it isn't already
owned by them, then restart. The detect step keeps it a no-op on hosts that
are already correct, so london-a and copenhagen-a don't get churned.
2026-09-19 09:07:01 +01:00
..
alloy Fix Alloy state ownership after the 1.19 upgrade (#154) 2026-09-19 09:07:01 +01:00
backup/tasks Add backup role to deploy hdd-backup.sh and cron to london-b (#16) 2026-03-29 15:09:01 +01:00
caddy bug: add retry to restarting caddy (#97) 2026-05-05 20:42:52 +01:00
common Install Grafana Alloy from Ansible (PESO-158) (#153) 2026-09-18 21:06:08 +01:00
docker Ansible-manage docker-log-cleanup script and cron (PESO-142) (#128) 2026-06-08 18:38:19 +01:00
docker_services/tasks fix: stop masking failed service deploys; trim dead config (#119) 2026-06-04 18:41:24 +01:00
dotfiles/tasks fix remaining yaml lint nitpicks 2026-03-28 13:13:37 +00:00
media_stack Back up the Proxmox VMs to london-b (#151) 2026-09-17 17:12:16 +01:00
proxmox_ve Back up the Proxmox VMs to london-b (#151) 2026-09-17 17:12:16 +01:00
status_page capture helsinki-a status page cron in repo (#17) 2026-03-29 15:39:35 +01:00
systemd_services fix: stop masking failed service deploys; trim dead config (#119) 2026-06-04 18:41:24 +01:00
zfs fix: cleanup freebsd and alpine stuff (#105) 2026-05-12 22:43:12 +01:00