Skip to content

Installs SnapRAID and configures automatic parity runs

Notifications You must be signed in to change notification settings

damfleu/ansible-role-snapraid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-snapraid

An ansible role to install and configure snapraid and (optionally) snapraid-runner.

Features

  • Installation and configuration of snapraid-runner to aid scrubbing (optional)
  • Automated creation of sync and scrub jobs
  • Healthchecks.io integration for cron jobs (optional)

Configuration

This role has many variables which can be configured.

Example

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

About

Installs SnapRAID and configures automatic parity runs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%