Commit Graph

3 Commits (28a869a030fb3be9818c71e08d3048ff88a2b6a0)

Author SHA1 Message Date
Kamil Madac b1160ade9a Better error handling in supervisorctl module.
If execution of supervisorctl was not successful (exit code > 0),
module silently supress this error and returns changed = false,
which turns to OK task state.
This is very confusing, when supervisorctl needs authentication,
and credentials are not specified in module or are incorrect,
services are not restarted/started/stopped without raising an error.
9 years ago
Tomasz Kontusz 18e641838a supervisorctl: Don't try to start a starting program
Starting a "STARTING" program throws ERROR (already started),
so don't do that.
10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago