From d838a9021a8f7e951bc5dc5dd40fd5686f58a8c1 Mon Sep 17 00:00:00 2001 From: Andrey Klychkov Date: Thu, 12 Sep 2019 17:32:52 +0300 Subject: [PATCH] svc: fix a typo (#62174) --- lib/ansible/modules/system/svc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/svc.py b/lib/ansible/modules/system/svc.py index fad4ca2b29b..327e0fd41cf 100644 --- a/lib/ansible/modules/system/svc.py +++ b/lib/ansible/modules/system/svc.py @@ -196,7 +196,7 @@ class Svc(object): if re.search(' up ', out): self.state = 'start' elif re.search(' down ', out): - self.state = 'stopp' + self.state = 'stop' else: self.state = 'unknown' return