From 34d771266a134d21385cd48a2aa91f794d606117 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 19 Aug 2025 00:46:47 +0200 Subject: [PATCH] Solved path bug --- filter_plugins/get_service_script_path.py | 2 +- roles/sys-ctl-alm-compose/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filter_plugins/get_service_script_path.py b/filter_plugins/get_service_script_path.py index 9e879be9..b091df1d 100644 --- a/filter_plugins/get_service_script_path.py +++ b/filter_plugins/get_service_script_path.py @@ -12,7 +12,7 @@ def get_service_script_path(systemctl_id, script_type): if not systemctl_id or not script_type: raise ValueError("Both systemctl_id and script_type are required") - return f"/opt/scripts/{systemctl_id}/script.{script_type}" + return f"/opt/scripts/systemctl/{systemctl_id}/script.{script_type}" class FilterModule(object): diff --git a/roles/sys-ctl-alm-compose/tasks/main.yml b/roles/sys-ctl-alm-compose/tasks/main.yml index c2bc7860..b1fd6e2d 100644 --- a/roles/sys-ctl-alm-compose/tasks/main.yml +++ b/roles/sys-ctl-alm-compose/tasks/main.yml @@ -1,5 +1,5 @@ - block: - - name: Include dependencies + - name: "Include '{{ systemctl_id }}'" include_role: name: '{{ item }}' loop: