Commit e126d0a8 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

feature: calendar

parent 05e8dc83
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
unattended_upgrades_update_calendar: "*-*-* 6,18:00"
unattended_upgrades_update_delay: "12h"

unattended_upgrades_upgrade_calendar: "*-*-* 22:00"
unattended_upgrades_upgrade_delay: "60m"
+2 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@
  notify: Reload systemd
  tags:
    - unattended_upgrades
  when: unattended_upgrades_update_calendar is defined

- name: Template a file to /etc/systemd/system/apt-daily-upgrade.timer
  ansible.builtin.copy:
@@ -100,3 +101,4 @@
  notify: Reload systemd
  tags:
    - unattended_upgrades
  when: unattended_upgrades_upgrade_calendar is defined