Merge branch 'master' of waschsauger.bl0rg.net:ansible-role-fstrim
This commit is contained in:
commit
f548ab962a
2 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
- name: systemd-daemon-reload
|
||||
shell: systemctl daemon-reload
|
||||
command: systemctl daemon-reload
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
when: ansible_distribution == 'Debian'
|
||||
notify: systemd-daemon-reload
|
||||
|
||||
- name: Create fstrim.timer.d
|
||||
- name: Configure fstrim.timer
|
||||
file: path=/etc/systemd/system/fstrim.timer.d state=directory
|
||||
- name: Configure fstrim.timer to run daily
|
||||
- name: Configure fstrim.timer
|
||||
copy: src=10-daily.conf dest=/etc/systemd/system/fstrim.timer.d/10-daily.conf
|
||||
notify: systemd-daemon-reload
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue