feat(system_baseline): reboot one host at a time and bound a hung apt-daily.service
Add system_baseline_reboot_throttle and system_baseline_reboot_post_delay, passed to the throttle and post_reboot_delay of the reboot task, read by the main flow and by tasks_from: reboot, both defaulting to 0 (today's behaviour) and validated in both. Add system_baseline_apt_daily_timeout: when set, write a TimeoutStartSec drop-in for apt-daily.service and reload systemd. Empty by default, which leaves the host alone. Closes #336 Closes #337 Assisted-by: Claude Code
This commit is contained in:
1 parent
8da65bd08e
commit
7092d68822
14 files changed
+239
-3
No files matched your search
@@ -4,6 +4,13 @@
|
||||
system_baseline_timezone: "Etc/UTC"
|
||||
system_baseline_locale: "en_US.UTF-8"
|
||||
system_baseline_reboot_if_required: true
|
||||
# How many hosts of a play reboot at the same time (the `throttle` of the reboot task); 0 is no limit, as before. Read by the main flow
|
||||
# and by the tasks_from: reboot entry point.
|
||||
system_baseline_reboot_throttle: 0
|
||||
# Seconds the reboot task waits after a host answers again, before the next host reboots or the play goes on; 0 adds no wait, as before.
|
||||
system_baseline_reboot_post_delay: 0
|
||||
# Systemd time span (for example 1h) written as TimeoutStartSec of apt-daily.service; empty leaves the host alone (tasks/apt_daily_timeout.yml).
|
||||
system_baseline_apt_daily_timeout: ""
|
||||
# Run the package update (tasks/update.yml) in the main flow. false skips it, for hosts that are patched by a separate,
|
||||
# operator-run flow; the tasks_from: update entry point does not read it.
|
||||
system_baseline_update: true
|
||||
|
||||
Reference in new issue
Block a user