fix check mode for solaris enable/disable (#29049)
This commit is contained in:
parent
ecc1fbcc1d
commit
7804049592
1 changed files with 14 additions and 13 deletions
|
@ -1388,6 +1388,7 @@ class SunOSService(Service):
|
|||
elif (not self.enable) and (not startup_enabled):
|
||||
return
|
||||
|
||||
if not self.module.check_mode:
|
||||
# Mark service as started or stopped (this will have the side effect of
|
||||
# actually stopping or starting the service)
|
||||
if self.enable:
|
||||
|
|
Loading…
Reference in a new issue