Advertisement
Guest User

Untitled

a guest
Aug 27th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. vagrant@precise64:~$ cat /etc/ansible/hosts
  2. # web
  3. web1 ansible_host=tomcat-serv-adm1 ansible_connection=ssh ansible_user=username ansible_ssh_pass=password
  4.  
  5. vagrant@precise64:~$ ansible web1 -m ping
  6. web1 | UNREACHABLE! => {
  7. "changed": false,
  8. "msg": "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp". Failed command was: ( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1503856866.42-230229170728730 `" && echo ansible-tmp-1503856866.42-230229170728730="` echo ~/.ansible/tmp/ansible-tmp-1503856866.42-230229170728730 `" ), exited with result 2",
  9. "unreachable": true
  10. }
  11.  
  12. vagrant@precise64:~$ ping tomcat-serv-adm1
  13. PING tomcat-serv-adm1-e1000g1.xypoint.com (192.168.66.116) 56(84) bytes of data.
  14. 64 bytes from tomcat-serv-adm1-e1000g1.xypoint.com (192.168.66.116): icmp_req=1 ttl=250 time=22.5 ms
  15. 64 bytes from tomcat-serv-adm1-e1000g1.xypoint.com (192.168.66.116): icmp_req=2 ttl=250 time=19.5 ms
  16. 64 bytes from tomcat-serv-adm1-e1000g1.xypoint.com (192.168.66.116): icmp_req=3 ttl=250 time=17.5 ms
  17. ^C
  18. --- tomcat-serv-adm1-e1000g1.xypoint.com ping statistics ---
  19. 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
  20. rtt min/avg/max/mdev = 17.554/19.891/22.562/2.064 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement