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

@@ -7,7 +7,7 @@ Checks the health of all mounted Btrfs filesystems by inspecting device error co
- Iterates over every Btrfs filesystem.
- Runs `btrfs device stats` and alerts if any error counters are non-zero.
- Hooks into systemd and a timer for regular checks.
- On failure, calls `sys-alm-compose.cymais@…` for notification.
- On failure, calls `sys-alm-compose.infinito@…` for notification.
## Usage
Just include this role in your playbook; it will:

View File

@@ -1,5 +1,5 @@
- name: "reload sys-hlth-btrfs.cymais.service"
- name: "reload sys-hlth-btrfs.infinito.service"
systemd:
name: sys-hlth-btrfs.cymais.service
name: sys-hlth-btrfs.infinito.service
enabled: yes
daemon_reload: yes

View File

@@ -6,7 +6,7 @@ galaxy_info:
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"
platforms:
@@ -18,7 +18,7 @@ galaxy_info:
- health
- systemd
- filesystem
repository: "https://s.veen.world/cymais"
documentation: "https://s.veen.world/cymais"
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
documentation: "https://docs.infinito.nexus"
dependencies:
- sys-alm-compose

View File

@@ -9,11 +9,11 @@
src: sys-hlth-btrfs.sh
dest: "{{docker_health_btrfs_folder}}sys-hlth-btrfs.sh"
- name: create sys-hlth-btrfs.cymais.service
- name: create sys-hlth-btrfs.infinito.service
template:
src: sys-hlth-btrfs.service.j2
dest: /etc/systemd/system/sys-hlth-btrfs.cymais.service
notify: reload sys-hlth-btrfs.cymais.service
dest: /etc/systemd/system/sys-hlth-btrfs.infinito.service
notify: reload sys-hlth-btrfs.infinito.service
- name: "set 'service_name' to '{{ role_name }}'"
set_fact:

View File

@@ -1,6 +1,6 @@
[Unit]
Description=Check btrfs status
OnFailure=sys-alm-compose.cymais@%n.service
OnFailure=sys-alm-compose.infinito@%n.service
[Service]
Type=oneshot