diff --git a/service b/service index 14b231a2ef9..d0122c5de6a 100644 --- a/service +++ b/service @@ -499,7 +499,7 @@ class LinuxService(Service): self.changed = True - if self.module.check_mode and changed: + if self.module.check_mode and self.changed: self.module.exit_json(changed=True) return self.execute_command("%s %s %s" % args)