An ansible role to install and configure snapraid and (optionally) snapraid-runner.
- Installation and configuration of
snapraid-runner
to aid scrubbing (optional) - Automated creation of
sync
andscrub
jobs - Healthchecks.io integration for cron jobs (optional)
This role has many variables which can be configured.
snapraid_install: false
snapraid_runner: false
snapraid_data_disks:
- path: /mnt/disk1
content: true
- path: /mnt/disk2
content: true
- path: /mnt/disk3
- path: /mnt/disk4
snapraid_parity_disks:
- path: /mnt/parity1
content: true
snapraid_content_files:
- /mnt/other-drive/snapraid.content
- /var/snapraid.content
snapraid_config_excludes:
- "*.unrecoverable"
- /lost+found/
- "*.!sync"
- /tmp/
snapraid_scrub_schedule:
hour: 5
weekday: 4