IronicBadger.snapraid
ansible-role-snapraid
snapraid
(およびオプションでsnapraid-runner
)をインストールおよび設定するためのansibleロールです。
特徴
- スクラビングを助けるための
snapraid-runner
のインストールと設定(オプション) sync
およびscrub
ジョブの自動作成- cronジョブ用のHealthchecks.ioとの統合(オプション)
設定
このロールには、設定可能な多くの変数があります。
例
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