From c2e02fbd6bc560cc56f8e4b9f23458b67c88a5d1 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 19 Sep 2013 15:00:25 -0500 Subject: [PATCH] Minor tweak to service changed logic from the previous commit --- library/system/service | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/system/service b/library/system/service index 06cd1b373b..114f6271e5 100644 --- a/library/system/service +++ b/library/system/service @@ -1134,9 +1134,7 @@ def main(): else: module.fail_json(msg=out) - if service.svc_change is True: - service.changed = True - result['changed'] = service.changed + result['changed'] = service.changed | service.svc_change if service.module.params['enabled'] is not None: result['enabled'] = service.module.params['enabled']