mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-11 21:07:16 +02:00
- sys-ctl-rpr-btrfs-balancer: suppress service flush for btrfs balancer (too expensive to run each play) - sys-daemon: replace raw systemctl calls with ansible.builtin.systemd (daemon_reload, daemon_reexec) - sys-service: split handler into 'Enable systemctl service' and 'Set systemctl service state', add become, async/poll, suppress flush guard Conversation: https://chatgpt.com/share/68c2f7a6-6fe4-800f-9d79-3e3b0ab4a563
sys-daemon
Description
Role to reset and configure the systemd manager for Infinito.Nexus.
It ensures a clean state of the manager configuration and applies default timeout values.
Overview
- Purges the systemd manager drop-in directory if requested.
- Validates all active unit files before reload/reexec.
- Applies default timeout values for systemd manager behavior.
- Provides handler-based reload/reexec for systemd.
Features
- Drop-in Purge: Optionally remove
/etc/systemd/system.conf.d
contents. - Manager Defaults: Deploys custom timeouts via
timeouts.conf
. - Validation: Uses
systemd-analyze verify
before reload. - Integration: Triggers
daemon-reload
ordaemon-reexec
safely.