name tasks
This commit is contained in:
parent
05cd0b6b39
commit
38fe69cf89
1 changed files with 6 additions and 3 deletions
|
@ -8,8 +8,11 @@
|
||||||
when: ansible_distribution == 'Debian'
|
when: ansible_distribution == 'Debian'
|
||||||
notify: systemd-daemon-reload
|
notify: systemd-daemon-reload
|
||||||
|
|
||||||
- file: path=/etc/systemd/system/fstrim.timer.d state=directory
|
- name: Configure fstrim.timer
|
||||||
- copy: src=10-daily.conf dest=/etc/systemd/system/fstrim.timer.d/10-daily.conf
|
file: path=/etc/systemd/system/fstrim.timer.d state=directory
|
||||||
|
- name: Configure fstrim.timer
|
||||||
|
copy: src=10-daily.conf dest=/etc/systemd/system/fstrim.timer.d/10-daily.conf
|
||||||
notify: systemd-daemon-reload
|
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…
Add table
Add a link
Reference in a new issue