mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fixed a Bug in the service module state changed recognition
This commit is contained in:
@@ -158,8 +158,6 @@ def main():
|
||||
|
||||
if module.params['enabled']:
|
||||
rc_enable, out_enable, err_enable = _do_enable(name, enable)
|
||||
if rc == 0:
|
||||
changed = True
|
||||
rc += rc_enable
|
||||
out += out_enable
|
||||
err += err_enable
|
||||
|
||||
Reference in New Issue
Block a user