mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-05 09:18:53 +00:00
Role README Credits now name galaxy_info.author (plain bold or wrapped in a Markdown link), matched byte-for-byte against the role's own meta/main.yml, instead of a hard-coded maintainer name. Regenerate all 245 role README Credits blocks to the new 'Implemented by ...' format. Co-Authored-By: Claude Opus 4.8 (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.
Further Resources
Credits
Implemented by Kevin Veen-Birkenbach. Part of the Infinito.Nexus Project and maintained by Kevin Veen-Birkenbach. Licensed under the Infinito.Nexus Community License (Non-Commercial).