Version snapraid config
Using fork of role at https://github.com/IronicBadger/ansible-role-snapraid/pull/7
This commit is contained in:
parent
b82e87c04b
commit
09a010f28e
3 changed files with 30 additions and 0 deletions
|
@ -14,3 +14,6 @@ roles:
|
||||||
- src: rossmcdonald.telegraf
|
- src: rossmcdonald.telegraf
|
||||||
- src: geerlingguy.gitlab
|
- src: geerlingguy.gitlab
|
||||||
- src: dokku_bot.ansible_dokku
|
- src: dokku_bot.ansible_dokku
|
||||||
|
- src: https://github.com/RealOrangeOne/ansible-role-snapraid
|
||||||
|
version: snapraid-plain-cron
|
||||||
|
name: IronicBadger.snapraid
|
||||||
|
|
|
@ -16,3 +16,28 @@ sanoid_datasets:
|
||||||
rpool:
|
rpool:
|
||||||
use_template: production
|
use_template: production
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
# Snapraid
|
||||||
|
snapraid_install: false
|
||||||
|
snapraid_runner: false
|
||||||
|
|
||||||
|
snapraid_data_disks:
|
||||||
|
- path: /mnt/bulk
|
||||||
|
content: true
|
||||||
|
snapraid_parity_disks:
|
||||||
|
- path: /mnt/parity
|
||||||
|
content: true
|
||||||
|
|
||||||
|
snapraid_content_files:
|
||||||
|
- /mnt/tank/files/snapraid.content
|
||||||
|
- /var/snapraid.content
|
||||||
|
|
||||||
|
snapraid_config_excludes:
|
||||||
|
- "*.unrecoverable"
|
||||||
|
- /lost+found/
|
||||||
|
- "*.!sync"
|
||||||
|
- /tmp/
|
||||||
|
|
||||||
|
snapraid_scrub_schedule:
|
||||||
|
hour: 5
|
||||||
|
weekday: 4
|
||||||
|
|
|
@ -69,6 +69,8 @@
|
||||||
- zfs
|
- zfs
|
||||||
- pve_nebula_route
|
- pve_nebula_route
|
||||||
- telegraf
|
- telegraf
|
||||||
|
- role: IronicBadger.snapraid
|
||||||
|
become: true
|
||||||
|
|
||||||
- hosts: forrest
|
- hosts: forrest
|
||||||
roles:
|
roles:
|
||||||
|
|
Loading…
Reference in a new issue