tkurki / marinepi-provisioning

Ansible provisioning scripts to set up a Raspberry Pi for marine use
Apache License 2.0
45 stars 21 forks source link

Optionally delay unattended upgrade reboot until some random time at night #95

Closed chacal closed 3 years ago

chacal commented 3 years ago

If enabled, reboots required by unattended upgrades are set to happen some time between 2:00 and 4:59. Once the configuration is applied, the reboots always happen at the same time, but the time itself differs between different hosts. Reboot time is random between hosts, but stays the same for each run for the same host (Ansible runs stay idempotent).

By default reboots still occur immediately after the updates requiring them have been applied.

chacal commented 3 years ago

Replaced by #96