Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible Framework Container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Playbooks
Ansible Framework Container
Commits
fbab05c2
Commit
fbab05c2
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Improve mdstat playbook
parent
5284a333
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
playbooks/mdstat.yml
+16
-0
16 additions, 0 deletions
playbooks/mdstat.yml
with
16 additions
and
0 deletions
playbooks/mdstat.yml
+
16
−
0
View file @
fbab05c2
...
...
@@ -12,3 +12,19 @@
tasks
:
-
name
:
Write to action file
shell
:
echo 'repair' >/sys/block/md2/md/sync_action
-
name
:
Wait for repair to complete
wait_for
:
path
:
/sys/block/md2/md/sync_action
search_regex
:
idle
delay
:
60
sleep
:
60
timeout
:
6000
-
name
:
Write to action file
shell
:
echo 'check' >/sys/block/md2/md/sync_action
-
name
:
Wait for check to complete
wait_for
:
path
:
/sys/block/md2/md/sync_action
search_regex
:
idle
delay
:
60
sleep
:
60
timeout
:
6000
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment