e417bc19bd
Refactor sys-ctl-rpr-docker-soft role to use standalone Python script with argparse and unittests
...
- Replace Jinja2 template (script.py.j2) with raw Python script (files/script.py)
- Add argparse options: --manipulation, --manipulation-string, --timeout
- Implement timeout handling in wait_while_manipulation_running
- Update systemd ExecStart/ExecStartPre handling in tasks/01_core.yml
- Remove obsolete systemctl.service.j2 and script.py.j2 templates
- Add unittest suite under tests/unit/roles/sys-ctl-rpr-docker-soft/files/test_script.py
- Mock docker and systemctl calls in tests for safe execution
Reference: ChatGPT conversation (see https://chatgpt.com/share/68ad770b-ea84-800f-b378-559cb61fc43a )
2025-08-26 10:58:17 +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
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
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
9228d51e86
Restructured server config
2025-08-07 11:31:06 +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
70f7953027
Added backup value key mapper
2025-07-16 20:03:00 +02:00
af3ea9039c
Restructure and cleaned up in preparation of new backup logic
2025-07-15 23:51:51 +02:00
3b03c5171d
Renamed the mariadb, openldap and postgres database
2025-07-12 16:06:13 +02:00
c09dec8b0f
Moved sys-opt-ssd-hdd to a callable version in svc-opt-ssd-hdd
2025-07-12 11:42:25 +02:00
168c5c0da6
Another big round of refactoring and cleaning...
2025-07-11 17:55:26 +02:00
6e32b20240
Finished new role identification system implementation
2025-07-11 00:42:36 +02:00
575df76ec3
Shortened service- to svc-
2025-07-09 05:00:41 +02:00
d0bd33fee3
Shorted maintenance- to maint-
2025-07-09 03:25:03 +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
5919f49741
Solved other refactoring bugs and optimized docker role template
2025-07-06 19:54:51 +02:00
ee0561db72
Optimized RBAC via LDAP
2025-07-04 08:03:27 +02:00
a9f55579a2
Reorgenized test structure and added validation of inventory before deployment
2025-07-04 01:14:00 +02:00