From 621f273767c9b77e09f03aa22063d346d3b0de03 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 12 Sep 2019 11:19:05 -0400 Subject: [PATCH] Revert "svc: fix a typo (#62174)" (#62212) This reverts commit d838a9021a8f7e951bc5dc5dd40fd5686f58a8c1. was not a typo, 'ed' is added later on and 'stop' goes to 'stopped' --- 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 327e0fd41cf..fad4ca2b29b 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 = 'stop' + self.state = 'stopp' else: self.state = 'unknown' return