Solved path bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-19 00:46:47 +02:00
parent 73b7d2728e
commit 34d771266a
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -1,5 +1,5 @@
- block:
- name: Include dependencies
- name: "Include '{{ systemctl_id }}'"
include_role:
name: '{{ item }}'
loop: