Minor tweak to service changed logic from the previous commit
This commit is contained in:
parent
8bdb95a014
commit
3511687dad
1 changed files with 1 additions and 3 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in a new issue