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()