Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ workstation_setup ansible all -i hosts.ini -m ping -vvv
- ansible 2.7.0
- config file = None
- configured module search path = ['/Users/bogdan/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
- ansible python module location = /usr/local/Cellar/ansible/2.7.0/libexec/lib/python3.7/site-packages/ansible
- executable location = /usr/local/bin/ansible
- python version = 3.7.0 (default, Jun 29 2018, 20:13:13) [Clang 9.1.0 (clang-902.0.39.2)]
- No config file found; using defaults
- Parsed /Users/bogdan/Projects/ansible/workstation_setup/hosts.ini inventory source with ini plugin
- META: ran handlers
- <192.168.33.20> ESTABLISH SSH CONNECTION FOR USER: vagrant
- <192.168.33.20> 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=vagrant -o ConnectTimeout=10 -o ControlPath=/Users/bogdan/.ansible/cp/ec620f82b4 192.168.33.20 '/bin/sh -c '"'"'echo ~vagrant && sleep 0'"'"''
- <192.168.33.20> (255, b'', b'vagrant@192.168.33.20: Permission denied (publickey,password).\r\n')
- 192.168.33.20 | UNREACHABLE! => {
- "changed": false,
- "msg": "Failed to connect to the host via ssh: vagrant@192.168.33.20: Permission denied (publickey,password).\r\n",
- "unreachable": true
- }
- ==============================================
- ➜ workstation_setup ansible all -i hosts.ini -m ping -vvv -k
- ansible 2.7.0
- config file = None
- configured module search path = ['/Users/bogdan/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
- ansible python module location = /usr/local/Cellar/ansible/2.7.0/libexec/lib/python3.7/site-packages/ansible
- executable location = /usr/local/bin/ansible
- python version = 3.7.0 (default, Jun 29 2018, 20:13:13) [Clang 9.1.0 (clang-902.0.39.2)]
- No config file found; using defaults
- SSH password:
- Parsed /Users/bogdan/Projects/ansible/workstation_setup/hosts.ini inventory source with ini plugin
- META: ran handlers
- <192.168.33.20> ESTABLISH CONNECTION FOR USER: vagrant on PORT 22 TO 192.168.33.20
- <192.168.33.20> EXEC /bin/sh -c 'echo ~vagrant && sleep 0'
- <192.168.33.20> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1541057116.209486-87693429128759 `" && echo ansible-tmp-1541057116.209486-87693429128759="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1541057116.209486-87693429128759 `" ) && sleep 0'
- Using module file /usr/local/Cellar/ansible/2.7.0/libexec/lib/python3.7/site-packages/ansible/modules/system/ping.py
- <192.168.33.20> PUT /Users/bogdan/.ansible/tmp/ansible-local-79410vtcp0a6v/tmpp2t5qlzs TO /home/vagrant/.ansible/tmp/ansible-tmp-1541057116.209486-87693429128759/AnsiballZ_ping.py
- <192.168.33.20> EXEC /bin/sh -c 'chmod u+x /home/vagrant/.ansible/tmp/ansible-tmp-1541057116.209486-87693429128759/ /home/vagrant/.ansible/tmp/ansible-tmp-1541057116.209486-87693429128759/AnsiballZ_ping.py && sleep 0'
- <192.168.33.20> EXEC /bin/sh -c '/usr/bin/python3 /home/vagrant/.ansible/tmp/ansible-tmp-1541057116.209486-87693429128759/AnsiballZ_ping.py && sleep 0'
- <192.168.33.20> EXEC /bin/sh -c 'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1541057116.209486-87693429128759/ > /dev/null 2>&1 && sleep 0'
- 192.168.33.20 | SUCCESS => {
- "changed": false,
- "invocation": {
- "module_args": {
- "data": "pong"
- }
- },
- "ping": "pong"
- }
- META: ran handlers
- META: ran handlers
- ➜ workstation_setup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement