Found this while trying to connect to a vagrant virtual machine, without specifying an ansible_ssh_user:
$ ansible -i inventory/vagrant influx -m command -a hostname -k -vvvv
SSH password:
<127.0.0.1> ESTABLISH CONNECTION FOR USER: austin.hyde
<influx@127.0.0.1> REMOTE_MODULE command hostname
<127.0.0.1> EXEC sshpass -d6 ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/austin.hyde/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=2222 -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o ConnectTimeout=10 127.0.0.1 /bin/sh -c 'jls -q jid name host.hostname path'
JLS stdout:
influx00 | FAILED => jls returned non-zero!
Need to make it output a more sensible error message if possible.
Found this while trying to connect to a vagrant virtual machine, without specifying an
ansible_ssh_user:Need to make it output a more sensible error message if possible.