summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cammarata <jcammarata@ansibleworks.com>2013-11-19 14:54:20 -0600
committerJames Cammarata <jcammarata@ansibleworks.com>2013-11-19 14:54:20 -0600
commitbfb1d469e66f1ee493d29590a366957a01d3a915 (patch)
tree446d81714ba94529d2b22a5aa8d66203add69a95
parent28556845383ee50afebbd1fc864598e15b9a4678 (diff)
downloadansible-bfb1d469e66f1ee493d29590a366957a01d3a915.tar.gz
Checking for a transitional running state in supervisorctl
Fixes #3977
-rw-r--r--library/web_infrastructure/supervisorctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/web_infrastructure/supervisorctl b/library/web_infrastructure/supervisorctl
index a907c66a41..b40e0d4a87 100644
--- a/library/web_infrastructure/supervisorctl
+++ b/library/web_infrastructure/supervisorctl
@@ -151,7 +151,7 @@ def main():
module.exit_json(changed=False, name=name, state=state)
rc, out, err = run_supervisorctl('status', name)
- running = 'RUNNING' in out
+ running = 'RUNNING' in out or '(already running)' in out
if running and state == 'started':
module.exit_json(changed=False, name=name, state=state)