diff --git a/system/service b/system/service index a694d8d92b8..ec622acebcf 100644 --- a/system/service +++ b/system/service @@ -565,7 +565,7 @@ class LinuxService(Service): def service_enable(self): if self.enable_cmd is None: - self.module.fail_json(msg='unknown init system, cannot enable service') + self.module.fail_json(msg='cannot detect command to enable service %s, typo or init system potentially unknown' % self.name) # FIXME: we use chkconfig or systemctl # to decide whether to run the command here but need something