Files
Kamino/roles/system_baseline/molecule/default/tasks/refuse_reboot.yml
T
Dragonish 7092d68822
Build / build (pull_request) Successful in 16s
Lint / lint (pull_request) Successful in 1m0s
Molecule / molecule (pull_request) Successful in 2m2s
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
2026-11-23 21:01:40 +00:00

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