mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix #9704, correctly set changed as false when nothing is done
This commit is contained in:
parent
1bae4e4df1
commit
87b0b0e0ce
1 changed files with 1 additions and 0 deletions
|
@ -673,6 +673,7 @@ class LinuxService(Service):
|
||||||
|
|
||||||
# Check if we're already in the correct state
|
# Check if we're already in the correct state
|
||||||
if "3:%s" % action in out and "5:%s" % action in out:
|
if "3:%s" % action in out and "5:%s" % action in out:
|
||||||
|
self.changed = False
|
||||||
return
|
return
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue