Pull-Mechanik: local.yml, schul-pull.sh, systemd-Units

Laptops ziehen sich das Repo selbst (HTTPS via git.lehrstun.de,
SSH-Fallback mit Deploy-Key) und fuehren local.yml aus. Timer laeuft
bei Boot + alle 30 min. local.yml haelt die Mechanik selbst aktuell.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-13 13:17:14 +02:00
parent 9cd471d66e
commit 22bb3ccec9
5 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Schul-Laptops: Konfiguration per ansible-pull aktualisieren
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/schul-pull.sh