added unitfile as an result
Dieser Commit ist enthalten in:
Ursprung
f7880850dc
Commit
3888436ad4
|
@ -289,6 +289,7 @@ class SystemdUnitModule(AnsibleModule):
|
|||
self.diff(diff)
|
||||
|
||||
def check(self):
|
||||
self.set("unitfile", self.unitfile.as_posix())
|
||||
self.unitfile_gen()
|
||||
if not self.unitfile.exists():
|
||||
self.diff(before="", after=self.unit(), before_header=self.unitfile.as_posix())
|
||||
|
|
Laden…
In neuem Issue referenzieren