mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Minor tweak to service changed logic from the previous commit
This commit is contained in:
parent
f62093da56
commit
c2e02fbd6b
1 changed files with 1 additions and 3 deletions
|
@ -1134,9 +1134,7 @@ def main():
|
||||||
else:
|
else:
|
||||||
module.fail_json(msg=out)
|
module.fail_json(msg=out)
|
||||||
|
|
||||||
if service.svc_change is True:
|
result['changed'] = service.changed | service.svc_change
|
||||||
service.changed = True
|
|
||||||
result['changed'] = service.changed
|
|
||||||
if service.module.params['enabled'] is not None:
|
if service.module.params['enabled'] is not None:
|
||||||
result['enabled'] = service.module.params['enabled']
|
result['enabled'] = service.module.params['enabled']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue