Sys-daemon Role

Description: Base role for systemd manager configuration via drop-ins, default settings, and unit validation

Variables

  • author: Kevin Veen-Birkenbach

  • description: Base role for systemd manager configuration via drop-ins, default settings, and unit validation

  • license: Infinito.Nexus Community License (Non-Commercial)

  • company: Kevin Veen-Birkenbach https://www.veen.world

  • galaxy_tags: [‘systemd’, ‘infinito’, ‘daemon’, ‘cleanup’]

  • issue_tracker_url: https://s.infinito.nexus/issues

  • min_ansible_version: 2.9

  • platforms: [{‘name’: ‘ArchLinux’, ‘versions’: [‘all’]}, {‘name’: ‘Debian’, ‘versions’: [‘all’]}, {‘name’: ‘EL’, ‘versions’: [‘all’]}, {‘name’: ‘Fedora’, ‘versions’: [‘all’]}, {‘name’: ‘Ubuntu’, ‘versions’: [‘all’]}]

README

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.

Cosmos

The diagram places sys-daemon in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks).

flowchart LR
    subgraph role [sys-daemon 💻]
        svc_daemon["daemon"]
    end

Solid 1:1 edges are fixed relationships; dashed 0..1 edges are conditional (enabled only in matching deployments); red 0..0 edges are turned off in this role. Node markers show the role’s deploy modes (💻 host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly turned off, and ⚙️ an Ansible role dependency declared in meta/main.yml.

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 or daemon-reexec safely.

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).