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
12 lines
390 B
YAML
12 lines
390 B
YAML
---
|
|
# One refusal per input: the main flow and the reboot entry point must both stop on validation, with a message that names the variable.
|
|
- name: Run the main flow and the entry point with a bad reboot input
|
|
ansible.builtin.include_tasks: refuse_reboot_one.yml
|
|
vars:
|
|
system_baseline_refused_entry: "{{ entry }}"
|
|
loop:
|
|
- main
|
|
- reboot
|
|
loop_control:
|
|
loop_var: entry
|