mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 15:28:12 +02:00
Replaced .infinito.service and .infinito.timer by SOFTWARE_NAME suffix, optimized LICENSE link and update OIDC Realm and ID conf
This commit is contained in:
@@ -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: "Infinito.Nexus NonCommercial License (CNCL)"
|
||||
license: "Infinito.Nexus NonCommercial License"
|
||||
license_url: "https://s.infinito.nexus/license"
|
||||
company: |
|
||||
Kevin Veen-Birkenbach
|
||||
|
@@ -1,7 +1,7 @@
|
||||
- name: Find all infinito.timer units
|
||||
- name: Find all {{ SYS_SERVICE_SUFFIX }} units
|
||||
find:
|
||||
paths: /etc/systemd/system
|
||||
patterns: '*.infinito.timer'
|
||||
patterns: '*.{{ SYS_SERVICE_SUFFIX }}'
|
||||
register: infinito_timers
|
||||
|
||||
- name: Disable and stop each infinito timer
|
||||
@@ -13,7 +13,7 @@
|
||||
loop_control:
|
||||
label: "{{ item.path | basename }}"
|
||||
|
||||
- name: Remove all infinito.timer files
|
||||
- name: Remove all {{ SYS_SERVICE_SUFFIX }} files
|
||||
file:
|
||||
path: "{{ item.path }}"
|
||||
state: absent
|
||||
|
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Timer to start {{service_name}}.infinito.service
|
||||
Description=Timer to start {{service_name}}{{ SYS_SERVICE_SUFFIX }}
|
||||
|
||||
[Timer]
|
||||
OnCalendar={{on_calendar}}
|
||||
|
@@ -1 +1 @@
|
||||
sys_timer_file: "{{service_name}}.infinito.timer"
|
||||
sys_timer_file: "{{ service_name }}{{ SYS_TIMER_SUFFIX }}"
|
Reference in New Issue
Block a user