Ansible - SSH Error: data could not be sent to remote host
Turns out my target system required tty
when using sudo
.
I was able to make connection my commenting out this line from ansible.cfg
:
pipelining = True
Other option would have been disabling setting requiretty
from sudoer file.