Update to 2021-01-25 12:00

master
Daniel Berteaud 4 years ago
parent a32d7a65b4
commit 02157556fd
  1. 2
      roles/common/tasks/system.yml

@ -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') }}"

Loading…
Cancel
Save