Use template instead of copy for fstrim
This commit is contained in:
parent
30e8d9d31c
commit
500ccfbaed
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user