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

11
files/ansible-pull.timer Normal file
View File

@@ -0,0 +1,11 @@
[Unit]
Description=Schul-Laptops: regelmaessiger ansible-pull (Boot + alle 30 min)
[Timer]
OnBootSec=2min
OnUnitActiveSec=30min
RandomizedDelaySec=5min
Persistent=true
[Install]
WantedBy=timers.target