summaryrefslogtreecommitdiff
path: root/web_infrastructure
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
commit2bd830369af50c6a83e2116d9be79b6db56af202 (patch)
treeab4c73d2829fd4379af3c8f6fe265d3eb63091fa /web_infrastructure
parent5ed73281b056c388c18b3bb9368c5325fad10628 (diff)
downloadansible-modules-core-2bd830369af50c6a83e2116d9be79b6db56af202.tar.gz
Checking for a transitional running state in supervisorctl
Fixes #3977
Diffstat (limited to 'web_infrastructure')
-rw-r--r--web_infrastructure/supervisorctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_infrastructure/supervisorctl b/web_infrastructure/supervisorctl
index a907c66a..b40e0d4a 100644
--- a/web_infrastructure/supervisorctl
+++ b/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)