mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-26 21:45:20 +02:00
Solved path bug
This commit is contained in:
parent
73b7d2728e
commit
34d771266a
@ -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):
|
||||
|
@ -1,5 +1,5 @@
|
||||
- block:
|
||||
- name: Include dependencies
|
||||
- name: "Include '{{ systemctl_id }}'"
|
||||
include_role:
|
||||
name: '{{ item }}'
|
||||
loop:
|
||||
|
Loading…
x
Reference in New Issue
Block a user