diff options
author | James Cammarata <jcammarata@ansibleworks.com> | 2013-11-19 14:54:20 -0600 |
---|---|---|
committer | James Cammarata <jcammarata@ansibleworks.com> | 2013-11-19 14:54:20 -0600 |
commit | bfb1d469e66f1ee493d29590a366957a01d3a915 (patch) | |
tree | 446d81714ba94529d2b22a5aa8d66203add69a95 | |
parent | 28556845383ee50afebbd1fc864598e15b9a4678 (diff) | |
download | ansible-bfb1d469e66f1ee493d29590a366957a01d3a915.tar.gz |
Checking for a transitional running state in supervisorctl
Fixes #3977
-rw-r--r-- | library/web_infrastructure/supervisorctl | 2 |
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) |