mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-03 19:58:14 +00:00 
			
		
		
		
	Renamed cymais to infinito and did some other optimations and logout implementations
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
- name: "reload sys-cln-backups.cymais.service"
 | 
			
		||||
- name: "reload sys-cln-backups.infinito.service"
 | 
			
		||||
  systemd:
 | 
			
		||||
    name: sys-cln-backups.cymais.service
 | 
			
		||||
    name: sys-cln-backups.infinito.service
 | 
			
		||||
    enabled: yes
 | 
			
		||||
    daemon_reload: yes
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
galaxy_info:
 | 
			
		||||
  author: "Kevin Veen-Birkenbach"
 | 
			
		||||
  description: "Automates the cleanup of old backups by executing a Python script that deletes outdated backup versions when disk usage exceeds a specified threshold."
 | 
			
		||||
  license: "CyMaIS NonCommercial License (CNCL)"
 | 
			
		||||
  license: "Infinito.Nexus NonCommercial License (CNCL)"
 | 
			
		||||
  license_url: "https://s.veen.world/cncl"
 | 
			
		||||
  company: |
 | 
			
		||||
    Kevin Veen-Birkenbach
 | 
			
		||||
@@ -18,9 +18,9 @@ galaxy_info:
 | 
			
		||||
    - cleanup
 | 
			
		||||
    - disk
 | 
			
		||||
    - automation
 | 
			
		||||
  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:  
 | 
			
		||||
  - dev-python-pip
 | 
			
		||||
  - sys-alm-compose
 | 
			
		||||
 
 | 
			
		||||
@@ -19,11 +19,11 @@
 | 
			
		||||
    dest: "{{cleanup_backups_directory}}sys-cln-backups.py"
 | 
			
		||||
  when: run_once_cleanup_backups_service is not defined
 | 
			
		||||
 | 
			
		||||
- name: create sys-cln-backups.cymais.service
 | 
			
		||||
- name: create sys-cln-backups.infinito.service
 | 
			
		||||
  template: 
 | 
			
		||||
    src:  "sys-cln-backups.service.j2"
 | 
			
		||||
    dest: "/etc/systemd/system/sys-cln-backups.cymais.service"
 | 
			
		||||
  notify: reload sys-cln-backups.cymais.service
 | 
			
		||||
    dest: "/etc/systemd/system/sys-cln-backups.infinito.service"
 | 
			
		||||
  notify: reload sys-cln-backups.infinito.service
 | 
			
		||||
  when: run_once_cleanup_backups_service is not defined
 | 
			
		||||
 | 
			
		||||
- name: run the cleanup_backups_service tasks once
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=delete old backups
 | 
			
		||||
OnFailure=sys-alm-compose.cymais@%n.service
 | 
			
		||||
OnFailure=sys-alm-compose.infinito@%n.service
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=oneshot
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user