Name tasks

master
neingeist 7 years ago
parent 05cd0b6b39
commit 99da071d9b

@ -8,8 +8,11 @@
when: ansible_distribution == 'Debian'
notify: systemd-daemon-reload
- file: path=/etc/systemd/system/fstrim.timer.d state=directory
- copy: src=10-daily.conf dest=/etc/systemd/system/fstrim.timer.d/10-daily.conf
- name: Create fstrim.timer.d
file: path=/etc/systemd/system/fstrim.timer.d state=directory
- name: Configure fstrim.timer to run daily
copy: src=10-daily.conf dest=/etc/systemd/system/fstrim.timer.d/10-daily.conf
notify: systemd-daemon-reload
- service: name=fstrim.timer enabled=yes state=started
- name: Enable fstrim.timer
service: name=fstrim.timer enabled=yes state=started

Loading…
Cancel
Save