jnv / ansible-role-unattended-upgrades

[DEPRECATED] Setup unattended-upgrades on Debian-based systems
https://github.com/jnv/ansible-role-unattended-upgrades/issues/98
GNU General Public License v2.0
272 stars 94 forks source link

Ability to Specify Patch Install Time with Systemd #97

Closed misilot closed 2 years ago

misilot commented 2 years ago

Source: https://wiki.debian.org/UnattendedUpgrades

Add the ability to override for upgrades.

Should create the path/file /etc/systemd/system/apt-daily-upgrade.timer.d/override.conf with the following

[Timer]
OnCalendar=
OnCalendar=01:00  -- Should be a customizable variable
RandomizedDelaySec=0 -- should be a customizable variable

Defaults (ubuntu 18.04 at least)

[Timer]
OnCalendar=*-*-* 6:00
RandomizedDelaySec=60m
jnv commented 2 years ago

I am closing this issue since this role has been deprecated. Feel free to suggest alternatives in #98.

Paul-Weisser commented 2 years ago

@misilot Do you still seek a solution for this? I am thinking about maintaining a fork of this Repo and this would be feature thats definitely on my list of important features to add.