From d1390f71501e4b12c608aa12cbb707c0dc5c2f35 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Fri, 21 Apr 2023 20:53:09 +0200 Subject: [PATCH] fixed path generation --- plugins/modules/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/target.py b/plugins/modules/target.py index c4b4742..61335a9 100644 --- a/plugins/modules/target.py +++ b/plugins/modules/target.py @@ -24,7 +24,7 @@ class Module(SystemdUnitModule): ) def prepare(self): - self.unitfile = (SYSTEMD_SERVICE_CONFIG, self.get("name")).with_stem(".target") + self.unitfile = (SYSTEMD_SERVICE_CONFIG/ self.get("name")).with_stem(".target") def header(self) -> str: section = super().header()