1
0
Fork 0
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:
Michael Scherer 2014-09-21 14:55:31 +02:00
parent 1bae4e4df1
commit 87b0b0e0ce

View file

@ -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
# #