mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-28 08:51:44 -07: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
|
# 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…
Add table
Add a link
Reference in a new issue