|
|
@ -95,7 +95,7 @@ |
|
|
|
name: fstrim |
|
|
|
name: fstrim |
|
|
|
special_time: "{{ system_fstrim_freq }}" |
|
|
|
special_time: "{{ system_fstrim_freq }}" |
|
|
|
user: root |
|
|
|
user: root |
|
|
|
job: 'sleep $(( 1$(/bin/date +\%N) \% 300 )); /usr/bin/systemd-cat /usr/local/bin/fstrim_all' |
|
|
|
job: 'sleep $(( 3600 + 1$(/bin/date +\%N) \% 7200 )); /usr/bin/systemd-cat /usr/local/bin/fstrim_all' |
|
|
|
cron_file: fstrim |
|
|
|
cron_file: fstrim |
|
|
|
state: "{{ (ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'lxc') | ternary('absent','present') }}" |
|
|
|
state: "{{ (ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'lxc') | ternary('absent','present') }}" |
|
|
|
|
|
|
|
|
|
|
|