pez-infra/ansible/roles/zfs/defaults/main.yml
Rasmus "Pez" Wejlgaard 69918c8619
Add ZFS management role: scrub scheduling and pool monitoring (#18)
- New zfs role with cron-based scrub scheduling for Linux and FreeBSD
- Weekly Sunday scrubs at noon (matching existing manual crons)
- Add zfs_hosts inventory group with london-a and london-b
- Configure zfs_pools per host: zroot (london-a), hdd (london-b)
- Add Prometheus alert rules for degraded/faulted/offline pools
- Add zfs.yml playbook for targeted deploys

Captures the previously untracked scrub cron on london-a and
re-enables the commented-out scrub on london-b.

Refs: PESO-93
2026-03-29 19:12:42 +01:00

15 lines
340 B
YAML

---
# ZFS management defaults
# List of ZFS pools to manage scrubs for.
# Override per-host in host_vars.
zfs_pools: []
# Scrub schedule (cron format).
# Default: weekly on Sunday at noon.
zfs_scrub_weekday: "0" # 0 = Sunday
zfs_scrub_hour: "12"
zfs_scrub_minute: "0"
# Whether to enable ZFS scrub scheduling.
zfs_scrub_enabled: true