mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #9084 from mscherer/fix9704/fix_service
Fix #9704, correctly set changed as false when nothing is done
This commit is contained in:
@@ -673,6 +673,7 @@ class LinuxService(Service):
|
||||
|
||||
# Check if we're already in the correct state
|
||||
if "3:%s" % action in out and "5:%s" % action in out:
|
||||
self.changed = False
|
||||
return
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user