From b6a77ebd6d51bfc8f4dccf3ed8c60f422c85e9fa Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Fri, 21 Apr 2023 21:09:12 +0200 Subject: [PATCH] added some debugging --- plugins/modules/target.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/modules/target.py b/plugins/modules/target.py index 3461ef7..280f37f 100644 --- a/plugins/modules/target.py +++ b/plugins/modules/target.py @@ -25,6 +25,7 @@ class Module(SystemdUnitModule): def prepare(self): self.unitfile = (SYSTEMD_SERVICE_CONFIG/ self.get("name")).with_stem(".target") + self.set("name", self.get(name)) self.__unit = None def header(self) -> str: