diff --git a/lib/ansible/modules/system/service.py b/lib/ansible/modules/system/service.py index c712c43ce9..9d92147234 100644 --- a/lib/ansible/modules/system/service.py +++ b/lib/ansible/modules/system/service.py @@ -776,6 +776,8 @@ class LinuxService(Service): self.module.fail_json(msg=err) else: self.module.fail_json(msg=out) % (self.enable_cmd, self.name, action) + else: + self.changed = False return