mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
- 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
15 lines
340 B
YAML
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
|