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
22 lines
530 B
YAML
22 lines
530 B
YAML
---
|
|
- name: Update locale
|
|
ansible.builtin.command: update-locale LANG={{ system_baseline_locale }}
|
|
become: true
|
|
changed_when: false
|
|
|
|
- name: Reload systemd-timedatectl
|
|
ansible.builtin.command: timedatectl set-timezone {{ system_baseline_timezone }}
|
|
become: true
|
|
changed_when: false
|
|
|
|
- name: Restart systemd-journald
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: systemd-journald
|
|
state: restarted
|
|
|
|
- name: Reload systemd for apt-daily timeout
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|