mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 12:17:13 +00:00
Both hunks are line-wrapping with identical semantics, produced by make autoformat writing to the tree during a quality pass. They are separated from the fix bundles because they are not behaviour changes and should not ride along in a commit that claims to fix something.
The sys-service hunk is byte-identical to e2d03408e8 on feature/designer, which ran its gate first; same blob hashes on both sides, so a later merge resolves to a no-op rather than a conflict. Leaving it out would only mean every future gate rewrites it and the branch carries a standing dirty diff.
The web-app-moodle hunk has no counterpart on any ref.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
sys-service
Description
Role to manage systemd service units for Infinito.Nexus software stacks. It installs or removes unit files, configures runtime behavior, and ensures services are properly deployed.
Overview
- Resets service units by removing old or obsolete definitions.
- Deploys new service unit files and service scripts.
- Optionally sets up timers linked to the services.
- Ensures correct reload/restart behavior across the stack.
- Provides the shared
files/debug.shSPOT for reusable service-failure diagnostics. - Exposes
tasks/utils/debug.ymlas the canonical Ansible wrapper around that script.
Features
- Unit Cleanup: Automated removal of old service units.
- Custom Templates: Supports both
systemctl.service.j2andsystemctl@.service.j2. - Timers: Integrates with
sys-timerfor scheduled execution. - Runtime Limits: Configurable
RuntimeMaxSecper service. - Handlers: Automatic reload/restart of services when definitions change.
- Shared Diagnostics: Centralized
systemctl/journalctl/unit-file diagnostics viafiles/debug.sh. - Wrapper Task: Reusable Ansible include in
tasks/utils/debug.ymlfor calling and printing the shared diagnostics.