bugfix:OMPUB-1239:Set fstrim.timer oncalendar to daily.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[Timer]
|
||||
OnCalendar=
|
||||
OnCalendar=daily
|
||||
@@ -57,6 +57,13 @@
|
||||
- tsg-os-HAL.conf
|
||||
when: runtime_env == 'TSG-X-P0906'
|
||||
|
||||
- name: "Override fstrim.timer OnCalendar"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/timer.d/timer_override_oncalendar.conf"
|
||||
dest: /usr/lib/systemd/system/fstrim.timer.d/
|
||||
mode: 0644
|
||||
when: runtime_env == 'TSG-X-P0906'
|
||||
|
||||
- name: "enable fstrim.timer"
|
||||
systemd:
|
||||
name: fstrim.timer
|
||||
|
||||
Reference in New Issue
Block a user