mirror of https://github.com/ansible/ansible.git
Detect failed sysvinit module (#43127)
* Detect failed sysvinit module - This checks the stderr instead of the rc to detect whether the sysvinit module was successful or not, as even when failing, the rc would be 0. - It immediatly became obvious that the debug info when failing was far too little to properly debug the role. To improve this, I also added the rc, stderr and stdout to the debug output. * Revert stderr check to rc check, rename out->stdout, err->stderrpull/42593/merge
parent
d5d29f4cfa
commit
c0048007a9
Loading…
Reference in New Issue