Use template instead of copy for fstrim

This commit is contained in:
Wojciech Kozlowski 2019-11-29 09:10:44 +01:00
parent 30e8d9d31c
commit 500ccfbaed
3 changed files with 4 additions and 4 deletions

View File

@ -31,14 +31,14 @@
# -------------------------------------------------------------------------
- name: Copy fstrim service file
copy:
src: ./etc/systemd/system/fstrim.service
template:
src: ./etc/systemd/system/fstrim.service.j2
dest: /etc/systemd/system/fstrim.service
mode: 0644
- name: Copy fstrim timer file
copy:
src: ./etc/systemd/system/fstrim.timer
template:
src: ./etc/systemd/system/fstrim.timer.j2
dest: /etc/systemd/system/fstrim.timer
mode: 0644