mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 02:03:09 +00:00
Merge pull request #3477 from bcoca/fix_service_checkmode
fixed check mode for service module
This commit is contained in:
@@ -561,7 +561,7 @@ class LinuxService(Service):
|
||||
break
|
||||
|
||||
if self.module.check_mode:
|
||||
self.module.exit_json(changed=changed)
|
||||
self.module.exit_json(changed=self.changed)
|
||||
|
||||
if not self.changed:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user