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,7 +10,7 @@ Designed for Arch Linux, this role validates configuration variables (`mount`, `
## Purpose
The purpose of this role is to provide a reliable, idempotent solution for local backups to a swappable USB drive. By automating the entire workflow—from variable checks and script deployment to service orchestration and snapshot management—it reduces manual intervention and integrates seamlessly with other CyMaIS roles for comprehensive system automation.
The purpose of this role is to provide a reliable, idempotent solution for local backups to a swappable USB drive. By automating the entire workflow—from variable checks and script deployment to service orchestration and snapshot management—it reduces manual intervention and integrates seamlessly with other Infinito.Nexus roles for comprehensive system automation.
## Features
@@ -26,5 +26,5 @@ The purpose of this role is to provide a reliable, idempotent solution for local
Developed and maintained by **Kevin Veen-Birkenbach**.
Visit [veen.world](https://www.veen.world) for more information.
Part of the [CyMaIS Project](https://github.com/kevinveenbirkenbach/cymais)
License: [CyMaIS NonCommercial License (CNCL)](https://s.veen.world/cncl)
Part of the [Infinito.Nexus Project](https://github.com/kevinveenbirkenbach/infinito-nexus)
License: [Infinito.Nexus NonCommercial License (CNCL)](https://s.veen.world/cncl)

View File

@@ -1,5 +1,5 @@
- name: "reload svc-bkp-loc-2-usb.cymais.service"
- name: "reload svc-bkp-loc-2-usb.infinito.service"
systemd:
name: svc-bkp-loc-2-usb.cymais.service
name: svc-bkp-loc-2-usb.infinito.service
state: reloaded
daemon_reload: yes

View File

@@ -2,7 +2,7 @@
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Automated backups to a swappable USB device."
license: "CyMaIS NonCommercial License (CNCL)"
license: "Infinito.Nexus NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
@@ -19,9 +19,9 @@ galaxy_info:
- systemd
- automation
- archlinux
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:
- sys-cln-bkps-service
- sys-lock

View File

@@ -23,8 +23,8 @@
- name: Copy systemd service to systemd directory
template:
src: svc-bkp-loc-2-usb.service.j2
dest: /etc/systemd/system/svc-bkp-loc-2-usb.cymais.service
dest: /etc/systemd/system/svc-bkp-loc-2-usb.infinito.service
owner: root
group: root
mode: '0644'
notify: reload svc-bkp-loc-2-usb.cymais.service
notify: reload svc-bkp-loc-2-usb.infinito.service

View File

@@ -1,12 +1,12 @@
[Unit]
Description=Backup to USB when mounted to {{ backup_to_usb_mount }}
Wants={{systemctl_mount_service_name}}
OnFailure=sys-alm-compose.cymais@%n.service
OnFailure=sys-alm-compose.infinito@%n.service
[Service]
Type=oneshot
ExecStart=/bin/python {{ backup_to_usb_script_path }} {{backup_to_usb_source}} {{backup_to_usb_destination}}
ExecStartPost=/bin/systemctl start sys-cln-backups.cymais.service
ExecStartPost=/bin/systemctl start sys-cln-backups.infinito.service
[Install]
WantedBy=multi-user.target