Skip to content

Instantly share code, notes, and snippets.

@duffney
Created April 8, 2020 19:07
Show Gist options
  • Save duffney/01accefc268aca2a99cea570f487000d to your computer and use it in GitHub Desktop.
Save duffney/01accefc268aca2a99cea570f487000d to your computer and use it in GitHub Desktop.
TASK [run ping] ****************************************************************************
task path: /ansible/ping.yaml:20
<34.202.122.113> ESTABLISH SSH CONNECTION FOR USER: ansible
<34.202.122.113> SSH: EXEC sshpass -d9 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="ansible"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/65b11a12a7 34.202.122.113 '/bin/sh -c '"'"'echo ~ansible && sleep 0'"'"''
<34.202.122.113> (3, '', 'sshpass: Failed to run command: No such file or directory\n')
<34.202.122.113> Failed to connect to the host via ssh: sshpass: Failed to run command: No such file or directory
<34.202.122.113> ESTABLISH SSH CONNECTION FOR USER: ansible
<34.202.122.113> SSH: EXEC sshpass -d9 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="ansible"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/65b11a12a7 34.202.122.113 '/bin/sh -c '"'"'echo "`pwd`" && sleep 0'"'"''
<34.202.122.113> (3, '', 'sshpass: Failed to run command: No such file or directory\n')
<34.202.122.113> Failed to connect to the host via ssh: sshpass: Failed to run command: No such file or directory
<34.202.122.113> ESTABLISH SSH CONNECTION FOR USER: ansible
<34.202.122.113> SSH: EXEC sshpass -d9 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="ansible"' -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/65b11a12a7 34.202.122.113 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1586372766.35-108736239085879 `" && echo ansible-tmp-1586372766.35-108736239085879="` echo ~/.ansible/tmp/ansible-tmp-1586372766.35-108736239085879 `" ) && sleep 0'"'"''
<34.202.122.113> (3, '', 'sshpass: Failed to run command: No such file or directory\n')
<34.202.122.113> Failed to connect to the host via ssh: sshpass: Failed to run command: No such file or directory
fatal: [34.202.122.113]: UNREACHABLE! => {
"changed": false,
"msg": "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp/ansible-tmp-1586372766.35-108736239085879 `\" && echo ansible-tmp-1586372766.35-108736239085879=\"` echo ~/.ansible/tmp/ansible-tmp-1586372766.35-108736239085879 `\" ), exited with result 3, stderr output: sshpass: Failed to run command: No such file or directory\n",
"unreachable": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment