Renamed cymais to infinito and did some other optimations and logout implementations

This commit is contained in:
2025-07-29 16:35:42 +02:00
parent a9e7ed3605
commit 44e0fea0b2
499 changed files with 1740 additions and 1587 deletions

View File

@@ -1,20 +1,20 @@
# Core Daemon Role
This Ansible role handles resetting and cleaning up “CyMaIS” systemd service units for the core daemon.
This Ansible role handles resetting and cleaning up “Infinito.Nexus” systemd service units for the core daemon.
## Description
When enabled via the `mode_reset` flag, this role will:
1. Run its reset tasks exactly once per play (`run_once_core_daemon` guard).
2. Find all `/etc/systemd/system/*.cymais.service` units.
2. Find all `/etc/systemd/system/*.infinito.service` units.
3. Stop and disable each unit.
4. Remove the unit files.
5. Reload the systemd daemon.
## License
This role is released under the CyMaIS NonCommercial License (CNCL).
This role is released under the Infinito.Nexus NonCommercial License (CNCL).
See [license details](https://s.veen.world/cncl)
## Author Information

View File

@@ -1,19 +1,19 @@
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Role to reset and clean up CyMaIS systemd service units for the core daemon."
description: "Role to reset and clean up Infinito.Nexus systemd service units for the core daemon."
company: |
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world
license: "CyMaIS NonCommercial License (CNCL)"
license: "Infinito.Nexus NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
min_ansible_version: "2.9"
galaxy_tags:
- systemd
- cleanup
- cymais
repository: "https://github.com/kevinveenbirkenbach/cymais"
issue_tracker_url: "https://github.com/kevinveenbirkenbach/cymais/issues"
documentation: "https://github.com/kevinveenbirkenbach/cymais/#sys-rst-daemon-role"
- infinito
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
documentation: "https://github.com/kevinveenbirkenbach/infinito-nexus/#sys-rst-daemon-role"
dependencies: []

View File

@@ -1,25 +1,25 @@
- name: Find all cymais.service units
- name: Find all infinito.service units
find:
paths: /etc/systemd/system
patterns: '*.cymais.service'
register: cymais_services
patterns: '*.infinito.service'
register: infinito_services
- name: Disable and stop each cymais service
- name: Disable and stop each infinito service
become: true
systemd:
name: "{{ item.path | basename }}"
enabled: no
state: stopped
loop: "{{ cymais_services.files }}"
loop: "{{ infinito_services.files }}"
loop_control:
label: "{{ item.path | basename }}"
- name: Remove all cymais.service files
- name: Remove all infinito.service files
become: true
file:
path: "{{ item.path }}"
state: absent
loop: "{{ cymais_services.files }}"
loop: "{{ infinito_services.files }}"
loop_control:
label: "{{ item.path | basename }}"