In service_enable, the default of changed is True so we have to set it to False explicitly if it is False.

Fixes #875
This commit is contained in:
Toshio Kuratomi
2015-03-03 11:22:31 -08:00
committed by Matt Clay
parent 2121bbc208
commit 9fa04de137

View File

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