title: Unable to ping my remote machine through Ansible
body: <p>I am trying to <strong><em>ping</em></strong> my remote linux machine using the following command :</p>
  
  <pre><code>ansible remote -m ping -vvvv
  </code></pre>
  
  <p>I get the following response :</p>
  
  <pre><code>[root@ansible ansible]# ansible remote -m ping -vvvv
  Using /etc/ansible/ansible.cfg as config file
  Loaded callback minimal of type stdout, v2.0
  &lt;192.41.50.9&gt; ESTABLISH SSH CONNECTION FOR USER: root
  &lt;192.41.50.9&gt; SSH: EXEC sshpass -d12 ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 192.41.50.9 '/bin/sh -c '"'"'( umask 77 &amp;&amp; mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1480431200.39-212981181831507 `" &amp;&amp; echo ansible-tmp-1480431200.39-212981181831507="` echo $HOME/.ansible/tmp/ansible-tmp-1480431200.39-212981181831507 `" ) &amp;&amp; sleep 0'"'"''
  192.41.50.9 | UNREACHABLE! =&gt; {
  "changed": false,
  "msg": "Failed to connect to the host via ssh.",
  "unreachable": true
  }
  </code></pre>
  
  <p>My <strong><em>hosts file</em></strong> looks like this :</p>
  
  <pre><code>[remote]
  192.41.50.9
  
  [remote:vars]
  ansible_ssh_user=root
  ansible_ssh_pass=p@ssw0rd
  ansible_ssh_port=22
  </code></pre>
  
  <p>When I tried to ssh into my remote machine, this is what i got :</p>
  
  <pre><code>[root@ansible ansible]# ssh root@192.41.50.9
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
  Someone could be eavesdropping on you right now (man-in-the-middle attack)!
  It is also possible that a host key has just been changed.
  The fingerprint for the RSA key sent by the remote host is
  86:d2:ca:8e:aa:8a:ce:25:c7:e5:31:7e:2a:c0:11:7f.
  Please contact your system administrator.
  Add correct host key in /root/.ssh/known_hosts to get rid of this message.
  Offending RSA key in /root/.ssh/known_hosts:3
  RSA host key for 192.41.50.9 has changed and you have requested strict checking.
  Host key verification failed.
  </code></pre>
  
  <p>What might be the reason for this <strong><em>connection failure</em></strong>?</p>