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

@@ -10,8 +10,8 @@ This role checks for anonymous Docker volumes that are not bound to a container
- `handlers/main.yml`: Handlers to reload and restart the systemd service and timer.
- `files/sys-hlth-docker-volumes.sh`: The script that checks for anonymous Docker volumes and excludes whitelisted volumes.
- `tasks/main.yml`: Tasks to create necessary directories, copy scripts, and create systemd service and timer.
- `templates/sys-hlth-docker-volumes.cymais.service.j2`: Systemd service template, including the whitelisted volumes as a parameter.
- `templates/sys-hlth-docker-volumes.cymais.timer.j2`: Systemd timer template.
- `templates/sys-hlth-docker-volumes.infinito.service.j2`: Systemd service template, including the whitelisted volumes as a parameter.
- `templates/sys-hlth-docker-volumes.infinito.timer.j2`: Systemd timer template.
- `meta/main.yml`: Meta information declaring dependencies for the role.
## Usage

View File

@@ -1,5 +1,5 @@
- name: "reload sys-hlth-docker-volumes.cymais.service"
- name: "reload sys-hlth-docker-volumes.infinito.service"
systemd:
name: sys-hlth-docker-volumes.cymais.service
name: sys-hlth-docker-volumes.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:
- volumes
- health
- systemd
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

@@ -11,11 +11,11 @@
dest: "{{health_docker_volumes_folder}}sys-hlth-docker-volumes.sh"
when: run_once_health_docker_volumes is not defined
- name: create sys-hlth-docker-volumes.cymais.service
- name: create sys-hlth-docker-volumes.infinito.service
template:
src: sys-hlth-docker-volumes.service.j2
dest: /etc/systemd/system/sys-hlth-docker-volumes.cymais.service
notify: reload sys-hlth-docker-volumes.cymais.service
dest: /etc/systemd/system/sys-hlth-docker-volumes.infinito.service
notify: reload sys-hlth-docker-volumes.infinito.service
when: run_once_health_docker_volumes is not defined
- name: "set 'service_name' to '{{ role_name }}'"

View File

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