Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
23992da7
Commit
23992da7
authored
Jul 19, 2018
by
Guillaume Hervier
Committed by
Alain Takoudjou
Jul 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/roles/fstrim: Disable and remove systemd timer
parent
89ba3e16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
playbook/roles/fstrim/tasks/main.yml
playbook/roles/fstrim/tasks/main.yml
+16
-0
No files found.
playbook/roles/fstrim/tasks/main.yml
View file @
23992da7
...
@@ -10,3 +10,19 @@
...
@@ -10,3 +10,19 @@
job
:
/sbin/fstrim -a
job
:
/sbin/fstrim -a
special_time
:
weekly
special_time
:
weekly
when
:
fstrim.stat.exists
when
:
fstrim.stat.exists
-
name
:
Disable systemd timer
service
:
name
:
fstrim.timer
enabled
:
false
when
:
fstrim.stat.exists
ignore_errors
:
yes
-
name
:
Remove systemd timer/service files
file
:
path
:
'
/etc/systemd/system/{{item}}'
state
:
absent
with_items
:
-
fstrim.service
-
fstrim.timer
when
:
fstrim.stat.exists
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