mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixed a Bug in the service module state changed recognition
This commit is contained in:
parent
c192d8a2b2
commit
25b52109b4
1 changed files with 0 additions and 2 deletions
|
@ -158,8 +158,6 @@ def main():
|
||||||
|
|
||||||
if module.params['enabled']:
|
if module.params['enabled']:
|
||||||
rc_enable, out_enable, err_enable = _do_enable(name, enable)
|
rc_enable, out_enable, err_enable = _do_enable(name, enable)
|
||||||
if rc == 0:
|
|
||||||
changed = True
|
|
||||||
rc += rc_enable
|
rc += rc_enable
|
||||||
out += out_enable
|
out += out_enable
|
||||||
err += err_enable
|
err += err_enable
|
||||||
|
|
Loading…
Add table
Reference in a new issue