Commit Graph

140 Commits

Author SHA1 Message Date
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
29f50da226 Add custom Ansible filter plugin get_category_entries
This commit introduces a new Ansible filter plugin named
'get_category_entries', which returns all role names under the
roles/ directory that start with a given prefix.

Additionally, unit tests (unittest framework) have been added under
tests/unit/filterplugins/ to ensure correct behavior, including:

- Returns empty list when roles/ directory is missing
- Correctly filters and sorts by prefix
- Ignores non-directory entries
- Supports custom roles_path argument
- Returns all roles when prefix is empty

Reference: https://chatgpt.com/share/68a2f1ab-1fe8-800f-b22a-28c1c95802c2
2025-08-18 11:27:26 +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
f0b323afee Added auto snippet for webserver injection 2025-08-16 01:31:49 +02:00
cc2c1dc730 Renamed injection services 2025-08-16 00:01:46 +02:00
3b4821f7e7 Solved missing logout injection bug and refactored srv-web-7-7-inj-compose 2025-08-15 23:55:19 +02:00
4a65a254ae replaced port-ui-desktop with desktop to make it more speakable 2025-08-14 11:45:08 +02:00
5e00deea19 Implemented desktop csp policies 2025-08-14 11:40:09 +02:00
b5d8ac5462 Reactivated keycloak docker and webserver tasks and implemented correct logic for element and synapse redirect handling 2025-08-11 02:21:02 +02:00
6e8ae793e3 Added auto setting for redirect urls for keycloak clients. Element and Synapse still need to be mapped 2025-08-11 00:17:18 +02:00
9f865dd215 Removed catetory domain präfix from redirect domains 2025-08-08 09:47:31 +02:00
5a0684fa2d Adapted CSP to new server dict structure 2025-08-07 13:00:52 +02:00
9228d51e86 Restructured server config 2025-08-07 11:31:06 +02:00
27973c2773 Optimized injection layer on lua base, as replace for nginx replace. Also optimized cloudflare cache deletion(no everytime for cleanup). Still CDN is required for logout mechanism via JS and Nextcloud deploy is buggy after changing from nginx to openresty. Propably some variable overwritte topic. Should be solved tomorrow. 2025-07-24 19:13:13 +02:00
f62355e490 Replaced nginx native with openresty for logout injection. Right now still buggy on nextcloud and espocrm 2025-07-24 03:19:16 +02:00
4b9e7dd3b7 Implemented universal logout 2025-07-22 13:14:06 +02:00
b1bf7aaba5 Fixed BBB stuff 2025-07-21 15:10:05 +02:00
a1643870db Optimized auto playbook creation 2025-07-21 15:09:38 +02:00
257d0c4673 Set entity name as default domain instead of application_id 2025-07-20 15:44:28 +02:00
c572d535e2 Optimized test for tree creation 2025-07-20 11:41:16 +02:00
8ccfb1dfbe Added icon to mig 2025-07-19 16:26:10 +02:00
85195e01f9 Activated loading of env depending on if it exist 2025-07-18 19:40:34 +02:00
45624037b1 Added shadow option to tree for mig 2025-07-18 19:35:44 +02:00
562603a8cd Restructured libraries 2025-07-17 16:38:20 +02:00
ad449c3b6a Adapted roles to new architecture 2025-07-17 15:39:31 +02:00
725fea1169 Solved database credentials bug 2025-07-17 06:32:53 +02:00
70f7953027 Added backup value key mapper 2025-07-16 20:03:00 +02:00
dea2669de2 Solved unclosed file <_io.TextIOWrapper warnings 2025-07-16 14:33:10 +02:00
e4ce3848fc Optimized for github workflow 2025-07-16 14:22:47 +02:00
241c5c6da8 Optimized test_main.py 2025-07-16 08:25:16 +02:00
af3ea9039c Restructure and cleaned up in preparation of new backup logic 2025-07-15 23:51:51 +02:00
c8054ffbc3 Optimized get paths and applications generation 2025-07-15 22:48:59 +02:00
b6eb73dee4 Implemented that schemas are recognized 2025-07-15 22:22:22 +02:00
e90c9a18b0 Added get_cymais_path (Rename it later) 2025-07-15 11:58:21 +02:00
ac72544b72 Added validation for deploy application ids 2025-07-14 09:52:53 +02:00
56f6a2dc3b Solved default variable bug 2025-07-14 00:04:13 +02:00
56caecc5d8 Restored get_docker_image functionality 2025-07-13 18:27:24 +02:00
63bf7f7640 Removed legacy code function 2025-07-13 18:02:44 +02:00
422e4c136d Added another test to check that get_app_conf delivers dict correct 2025-07-13 15:13:38 +02:00
5340d580ce Optimized filter functions 2025-07-13 14:20:22 +02:00
c8669e19cf Implemented new get_app_conf function 2025-07-13 13:36:52 +02:00
a18e888044 Implemented new matomo setup 2025-07-13 12:58:10 +02:00
f07557c322 Implemented dict renderer to resolve assets 2025-07-12 23:25:31 +02:00
4f5afa1220 Finished portfolio implementation 2025-07-12 22:06:57 +02:00
ead60dab84 Fail safed more parts of the code 2025-07-12 21:35:33 +02:00
0fd5cdb5d6 Renamed portfolio to portwebui 2025-07-12 18:41:13 +02:00
adec2aed84 Renamed generate commands to build 2025-07-12 17:11:41 +02:00
3b03c5171d Renamed the mariadb, openldap and postgres database 2025-07-12 16:06:13 +02:00
e174523fc6 Solved collection dependency bug 2025-07-12 13:42:45 +02:00