Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ansible-roles
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jocelyn Delalande
ansible-roles
Commits
1592ee6a
Commit
1592ee6a
authored
May 13, 2016
by
Jocelyn Delalande
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: Added role for btrfs maintenance
parent
5185aa45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
btrfs/tasks/main.yml
btrfs/tasks/main.yml
+5
-0
btrfs/templates/btrfs_maintenance
btrfs/templates/btrfs_maintenance
+6
-0
No files found.
btrfs/tasks/main.yml
0 → 100644
View file @
1592ee6a
-
name
:
Install btrfs maintenance cron script
template
:
src
:
templates/btrfs_maintenance
dest
:
/etc/cron.weekly/btrfs_maintenance
mode
:
0755
btrfs/templates/btrfs_maintenance
0 → 100644
View file @
1592ee6a
#!/bin/sh
btrfs balance start /
# FIXME: who receives notification email about failed scrub ?
btrfs scrub start /
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment