add 'btrfs' role, move vars to host_vars
This commit is contained in:
parent
13da397c76
commit
55d37e10ac
7 changed files with 127 additions and 45 deletions
10
roles/btrfs/files/btrfs-scrub@.service
Normal file
10
roles/btrfs/files/btrfs-scrub@.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Btrfs scrub on %f
|
||||
ConditionPathIsMountPoint=%f
|
||||
RequiresMountsFor=%f
|
||||
|
||||
[Service]
|
||||
Nice=19
|
||||
IOSchedulingClass=idle
|
||||
KillSignal=SIGINT
|
||||
ExecStart=/usr/bin/btrfs scrub start -B %f
|
Loading…
Add table
Add a link
Reference in a new issue