87 Commits

Author SHA1 Message Date
39a54294dd
Moved update commands to nextcloud role 2025-08-20 06:07:33 +02:00
26b392ea76
refactor!: replace sys-systemctl with sys-service, add sys-daemon, and rename systemctl_* → system_service_* across repo
- Swap role includes: sys-systemctl → sys-service in all roles
- Rename variables everywhere: systemctl_* → system_service_* (incl. systemctl_id → system_service_id)
- Templates: ExecStart now uses {{ system_service_script_exec }}; add optional RuntimeMaxSec via SYS_SERVICE_DEFAULT_RUNTIME
- Move SYS_SERVICE defaults into roles/sys-service/defaults (remove SYS_SERVICE_ALL_ENABLED & SYS_SERVICE_DEFAULT_STATE from group_vars/07_services.yml)
- Tidy group_vars/all/08_timer.yml formatting
- Introduce roles/sys-daemon:
  - default manager timeouts (timeouts.conf)
  - optional purge of /etc/systemd/system.conf.d
  - validation via systemd-analyze verify
  - handlers for daemon-reload & daemon-reexec
- Refactor sys-timer to system_service_* variables (docs and templates updated)
- Move filter_plugins/filetype.py under sys-service
- Update meta/README to point to official systemd docs
- Touch many roles (backup/cleanup/health/repair/certs/nginx/csp/wireguard/ssd-hdd/keyboard/update-docker/alarm compose/email/telegram/etc.) to new naming

BREAKING CHANGE:
- Role path/name change: use `sys-service` instead of `sys-systemctl`
- All `systemctl_*` vars are now `system_service_*` (e.g., on_calendar, state, timer_enabled, script_exec, id)
- If you have custom templates, adopt RuntimeMaxSec and new variable names

Chat context: https://chatgpt.com/share/68a47568-312c-800f-af3f-e98575446327
2025-08-19 15:00:44 +02:00
dd7b5e844c
removed /bin/sh -c encapsulation and solved wrong --ignore names 2025-08-19 11:15:36 +02:00
da01305cac
Replaced {{ systemctl_id | get_service_script_path( by systemctl_script_exec 2025-08-19 10:56:46 +02:00
bf63e01b98
refactor(systemd-services): migrate SYS_SERVICE_SUFFIX usage to get_service_name filter
Replaced all hardcoded service name concatenations with the new get_service_name filter.
This ensures consistency, proper lowercase formatting, and correct handling of '@' suffixed units.

Added unittests for the filter (normal, custom suffix, '@'-units, and lowercase normalization).

Context: see ChatGPT discussion https://chatgpt.com/share/68a38beb-b9bc-800f-b7ed-cdd2b64b2604
2025-08-18 22:24:33 +02:00
2569abc0be
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.
2025-08-18 21:22:16 +02:00
3a839cfe37
Refactor systemctl services and categories due to alarm bugs
This commit restructures systemctl service definitions and category mappings.

Motivation: Alarm-related bugs revealed inconsistencies in service and role handling.

Preparation step: lays the groundwork for fixing the alarm issues by aligning categories, roles, and service templates.
2025-08-18 13:35:43 +02:00
0de26fa6c7
Solved bug existed due to difference between mailu domain and hostname difference. also refactored during this to find the bug 2025-08-16 14:29:07 +02:00
022800425d
THE HUGE REFACTORING CALENDER WEEK 33; Optimized Matrix and during this updated variables, and implemented better reset and cleanup mode handling, also solved some initial setup bugs 2025-08-15 15:15:48 +02:00
0228014d34
Replaced .infinito.service and .infinito.timer by SOFTWARE_NAME suffix, optimized LICENSE link and update OIDC Realm and ID conf 2025-08-14 14:39:18 +02:00
db0e030900
Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository 2025-08-13 19:11:14 +02:00
f31565e4c5
Optimized URLS 2025-08-13 00:33:47 +02:00
1a42e8bd14
Replaced depenencies by includes for performance reasons 2025-08-12 03:08:33 +02:00
1595a7c4a6
Optimized tests für run once 2025-08-12 02:38:37 +02:00
1ba50397db
Optimized performance by moving multiple similar when includes to own tasks file 2025-08-11 13:15:31 +02:00
44e0fea0b2
Renamed cymais to infinito and did some other optimations and logout implementations 2025-07-29 16:35:42 +02:00
169493179e
Restructuring for new backup solution 2025-07-16 19:09:31 +02:00
af3ea9039c
Restructure and cleaned up in preparation of new backup logic 2025-07-15 23:51:51 +02:00
bb7859ab44
Optimized update roles 2025-07-15 15:18:07 +02:00
f02ca50f88
Renamed backup roles 2025-07-14 19:04:30 +02:00
3b03c5171d
Renamed the mariadb, openldap and postgres database 2025-07-12 16:06:13 +02:00
e14e6b96e9
Renamed Database roles 2025-07-12 10:11:52 +02:00
168c5c0da6
Another big round of refactoring and cleaning... 2025-07-11 17:55:26 +02:00
7fba13b550
Solved wrong namings 2025-07-11 02:59:25 +02:00
3141166fb5
Added application ids to all relevant roles 2025-07-10 23:08:47 +02:00
707cc9d2d1
Removed ignore errors from db management in discourse 2025-07-10 11:44:35 +02:00
9668e74139
Shorted backup- to bkp- 2025-07-09 03:36:44 +02:00
d0bd33fee3
Shorted maintenance- to maint- 2025-07-09 03:25:03 +02:00
7362accab0
Renamed alert-bot to alert-compose 2025-07-09 00:11:41 +02:00
563d5fd528
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation 2025-07-08 23:43:13 +02:00
76aef5949b
Optimized Docker Matrix Role in Preparation for use on CyMaIS.Cloud Server 2025-05-15 21:11:21 +02:00
f71c9e4b31
Solved pull bug of openproject 2025-05-07 07:20:35 +02:00
9fb1655111
Updated snipe-it source 2025-05-07 07:17:07 +02:00
dfcd35bacc
Implemented inverted color scheme 2025-04-16 02:26:13 +02:00
2667f3c259
Optimized mds 2025-03-17 05:10:43 +01:00
892403cf8c
Optimized .mds and meta/main.yml for client-wireguard roles and refactored README.md of Docker Roles 2025-03-14 14:42:59 +01:00
2dbaad04d5
Optimized .mds and meta/main.yml for update roles 2025-03-14 13:07:11 +01:00
e10deb9e54 Optimized and refactored portfolio for flock.town 2025-02-19 16:27:16 +01:00
3a6fc106a8 Solved discourse update bug 2025-02-14 09:37:22 +01:00
c5de205e87 Added nbetwork bound for discourse and central-postgres 2025-02-13 14:17:04 +01:00
998f4e383d Updated discourse for docker-update role 2025-02-13 14:11:06 +01:00
7b490c18d2 Passed y for database backup 2025-01-20 19:04:15 +01:00
62fdd2413f Added additional upgrade procedures for listmonk 2024-12-04 21:40:17 +01:00
2c5bcdd28f Added --include-expensive 2024-12-04 17:43:03 +01:00
1ac3fdebe1 Adapted variables 2024-12-04 17:41:29 +01:00
6efb66c92b Implemented database update for nextcloud 2024-12-04 17:41:08 +01:00
e243d91145 Added migration comment to mastodon 2024-11-07 23:50:46 -03:00
ce1b667459 Updated backup procedure for matrix and deactivated plugin chatgpt and slack 2024-11-07 16:42:45 -03:00
2bab04d6fe Added correct mime types 2024-11-07 16:39:07 -03:00
a89464d364 optimized update procedures 2024-02-06 23:45:03 +01:00