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

This commit is contained in:
2025-08-15 15:15:48 +02:00
parent 0228014d34
commit 022800425d
271 changed files with 1098 additions and 916 deletions

View File

@@ -0,0 +1,12 @@
- name: "pkgmgr install '{{ SYS_SERVICE_SUFFIX }}'"
include_role:
name: pkgmgr-install
vars:
package_name: "{{ UNIT_SUFFIX_REMOVER_PACKAGE }}"
- name: Remove all '{{ SYS_SERVICE_SUFFIX }}' files with '{{ UNIT_SUFFIX_REMOVER_PACKAGE }}'
command: "{{ UNIT_SUFFIX_REMOVER_PACKAGE }} -s '{{ SOFTWARE_NAME }}'"
- name: Reload systemd daemon
command: systemctl daemon-reload
become: true

View File

@@ -0,0 +1,6 @@
- block:
- name: "reset (if enabled)"
include_tasks: 01_reset.yml
when: MODE_RESET | bool
- include_tasks: utils/run_once.yml
when: run_once_sys_systemctl is not defined