mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
commit
c289ba1b21
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
|
||||
if "3:%s" % action in out and "5:%s" % action in out:
|
||||
self.changed = False
|
||||
return
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue