1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix check mode for solaris enable/disable ()

This commit is contained in:
Brian Coca 2017-09-06 20:16:58 -04:00 committed by Jordan Borean
parent ecc1fbcc1d
commit 7804049592

View file

@ -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: