Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
OS / ENVIRONMENT
When an SSH error occurs Ansible only reports something like:
It hides the actual error which is reported by SSH which makes it very hard to troubleshoot problems with SSH.
STEPS TO REPRODUCE
I have noticed the same issue while spending 3 hours to debug a deployment that was not working on a test environment.
After the 3 hours analysis we have notices with my colleague that we had the problem when
Digging further we clearly saw this line is a potential culprit:
Indeed this error hides any
I am not very confident in making changes in Ansible's codebase but @alikins do you think we could simply remove this
This is still an issue in AWX with ansible 2.7.7, where I see:
but strace gives me: