From e129616ba68bf817800a8c086b48168c5e91855e Mon Sep 17 00:00:00 2001 From: Alexander Gubin Date: Thu, 19 Jul 2018 11:17:34 +0000 Subject: [PATCH] sysvinit: Fix for false changed messages (#42956) --- lib/ansible/modules/system/sysvinit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/system/sysvinit.py b/lib/ansible/modules/system/sysvinit.py index 82724c1c331..c39e2866ec1 100644 --- a/lib/ansible/modules/system/sysvinit.py +++ b/lib/ansible/modules/system/sysvinit.py @@ -221,6 +221,7 @@ def main(): if not worked: # hail mary if rc == 0: + is_started = True worked = True # ps for luck, can only assure positive match elif get_ps(module, name):