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 - name: Copy fstrim service file
copy: template:
src: ./etc/systemd/system/fstrim.service src: ./etc/systemd/system/fstrim.service.j2
dest: /etc/systemd/system/fstrim.service dest: /etc/systemd/system/fstrim.service
mode: 0644 mode: 0644
- name: Copy fstrim timer file - name: Copy fstrim timer file
copy: template:
src: ./etc/systemd/system/fstrim.timer src: ./etc/systemd/system/fstrim.timer.j2
dest: /etc/systemd/system/fstrim.timer dest: /etc/systemd/system/fstrim.timer
mode: 0644 mode: 0644