Skip to content

Instantly share code, notes, and snippets.

@willbasky
Created October 28, 2018 19:33
Show Gist options
  • Save willbasky/006829fd19aed8699750ad5a0ecefc3a to your computer and use it in GitHub Desktop.
Save willbasky/006829fd19aed8699750ad5a0ecefc3a to your computer and use it in GitHub Desktop.
ops
$ ansible-playbook ssh.yaml -vvv
ansible-playbook 2.5.1
config file = /media/metaxis/stock/Coding/ops/playbook/ansible.cfg
configured module search path = [u'/home/metaxis/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]
Using /media/metaxis/stock/Coding/ops/playbook/ansible.cfg as config file
Parsed /media/metaxis/stock/Coding/ops/playbook/hosts inventory source with ini plugin
PLAYBOOK: ssh.yaml ************************************************************************************
1 plays in ssh.yaml
PLAY [all] ********************************************************************************************
TASK [Gathering Facts] ********************************************************************************
task path: /media/metaxis/stock/Coding/ops/playbook/ssh.yaml:5
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<guide.aelve.com> ESTABLISH SSH CONNECTION FOR USER: root
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<codesearch.aelve.com> ESTABLISH SSH CONNECTION FOR USER: root
<guide.aelve.com> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/metaxis/.ansible/cp/01160ff8e8 guide.aelve.com '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<codesearch.aelve.com> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/metaxis/.ansible/cp/6ac6278463 codesearch.aelve.com '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
The authenticity of host 'codesearch.aelve.com (138.68.117.87)' can't be established.
ECDSA key fingerprint is SHA256:2lCyt...
Are you sure you want to continue connecting (yes/no)? Enter passphrase for key '/home/metaxis/.ssh/id_rsa': Please type 'yes' or 'no':
Enter passphrase for key '/home/metaxis/.ssh/id_rsa':
Please type 'yes' or 'no':
Enter passphrase for key '/home/metaxis/.ssh/id_rsa':
Please type 'yes' or 'no':
<guide.aelve.com> (255, '', 'root@guide.aelve.com: Permission denied (publickey,password).\r\n')
fatal: [guide.aelve.com]: UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: root@guide.aelve.com: Permission denied (publickey,password).\r\n",
"unreachable": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment