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

@@ -2,7 +2,7 @@
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Configures a systemd timer to periodically start a specified service. This role automates the creation, reloading, and restarting of systemd timer units for recurring tasks."
license: "CyMaIS NonCommercial License (CNCL)"
license: "Infinito.Nexus NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
@@ -19,7 +19,7 @@ galaxy_info:
- automation
- scheduling
- configuration
repository: "https://s.veen.world/cymais"
issue_tracker_url: "https://s.veen.world/cymaisissues"
documentation: "https://s.veen.world/cymais"
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
documentation: "https://docs.infinito.nexus"
dependencies: []

View File

@@ -3,16 +3,16 @@
include_tasks: reset.yml
when: mode_reset | bool and run_once_sys_timer is not defined
- name: create {{service_name}}.cymais.timer
- name: create {{service_name}}.infinito.timer
template:
src: dummy.timer.j2
dest: "/etc/systemd/system/{{service_name}}.cymais.timer"
dest: "/etc/systemd/system/{{service_name}}.infinito.timer"
register: dummy_timer
- name: "restart timer"
systemd:
daemon_reload: yes
name: "{{service_name}}.cymais.timer"
name: "{{service_name}}.infinito.timer"
state: restarted
enabled: yes
when: dummy_timer.changed or activate_all_timers | bool

View File

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

View File

@@ -1,5 +1,5 @@
[Unit]
Description=Timer to start {{service_name}}.cymais.service
Description=Timer to start {{service_name}}.infinito.service
[Timer]
OnCalendar={{on_calendar}}