# attempt to ansible -m ping into vagrant box fails

**URL:** <https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19355>\
**Category:** Ansible Developer\
**Created:** [September 25, 2015, 1:27pm UTC](https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19355 "2015-09-25T13:27:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DEBORAH\_AKUOKO](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DEBORAH\_AKUOKO](https://forum.ansible.com/u/DEBORAH_AKUOKO)\
**Post date:** [September 25, 2015, 1:27pm UTC](https://forum.ansible.com/t/attempt-to-ansible-m-ping-into-vagrant-box-fails/19355/1 "2015-09-25T13:27:41Z")

</div>

I have a vagrant vm which i can successfully ping and ssh into from my host machine and vice versa.  
But I am not able to run ansible ping to the vagrant box,  
nether an i able to run my playbook which connects to the vagrant box.

Please find the snapshot attached.

> **(attachments)**
>
> ![ansibleplaybook-fail-ssh.png](https://us1.discourse-cdn.com/ansible/original/2X/8/85c053b82125fda50b61e5190915cee830074b05.png)
