Refactor systemctl services and timers

- Unified service templates into generic systemctl templates
- Introduced reusable filter plugins for script path handling
- Updated path variables and service/timer definitions
- Migrated roles (backup, cleanup, repair, etc.) to use systemctl role
- Added sys-daemon role for core systemd cleanup
- Simplified timer handling via sys-timer role

Note: This is a large refactor and some errors may still exist. Further testing and adjustments will be needed.
This commit is contained in:
2025-08-18 21:22:16 +02:00
parent 3a839cfe37
commit 2569abc0be
219 changed files with 618 additions and 1104 deletions

View File

@@ -16,7 +16,7 @@ This role is built on top of your existing `srv-web-7-4-core` role, and it autom
When you apply **srv-web-7-6-https**, it will:
1. **Include** the `srv-web-7-4-core` role to install and configure Nginx.
2. **Clean up** any stale vHost files under `sys-ctl-cln-domains`.
2. **Clean up** any stale vHost files under `sys-svc-cln-domains`.
3. **Deploy** the Lets Encrypt challenge-and-redirect snippet from `srv-web-7-7-letsencrypt`.
4. **Reload** Nginx automatically when any template changes.

View File

@@ -4,7 +4,7 @@
name: '{{ item }}'
loop:
- srv-web-7-4-core
- sys-ctl-cln-domains
- sys-svc-cln-domains
- srv-web-7-7-letsencrypt
- include_tasks: utils/run_once.yml
when: run_once_srv_web_7_6_https is not defined