diff --git a/lib/ansible/modules/system/service.py b/lib/ansible/modules/system/service.py index 18b76d32c6..d216e683ca 100644 --- a/lib/ansible/modules/system/service.py +++ b/lib/ansible/modules/system/service.py @@ -1365,9 +1365,9 @@ class SunOSService(Service): elif self.action == 'stop': subcmd = "disable -st" elif self.action == 'reload': - subcmd = "refresh" + subcmd = "refresh -s" elif self.action == 'restart' and status == 'online': - subcmd = "restart" + subcmd = "restart -s" elif self.action == 'restart' and status != 'online': subcmd = "enable -rst"