# Fatal 191.168.0,2, ansible -playbook

**URL:** <https://forum.ansible.com/t/fatal-191-168-0-2-ansible-playbook/20518>\
**Category:** Ansible Developer\
**Created:** [February 10, 2016, 4:35pm UTC](https://forum.ansible.com/t/fatal-191-168-0-2-ansible-playbook/20518 "2016-02-10T16:35:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valentino\_Massimo](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@Valentino\_Massimo](https://forum.ansible.com/u/Valentino_Massimo)\
**Post date:** [February 10, 2016, 4:35pm UTC](https://forum.ansible.com/t/fatal-191-168-0-2-ansible-playbook/20518/1 "2016-02-10T16:35:24Z")

</div>

vagrant@ansible:~$ ansible-playbook -i hosts -u root nginx.yml

PLAY [webservers] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [191.168.0.2] =\> SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue

TASK: [install nginx] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
FATAL: no hosts matched or all hosts have already failed – aborting

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
to retry, use: --limit @/home/vagrant/nginx.retry

191.168.0.2 : ok=0 changed=0 unreachable=1 failed=0

vagrant@ansible:~$ ansible-playbook -i hosts -u root nginx.yml

PLAY [webservers] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [191.168.0.2] =\> SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue

TASK: [install nginx] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
FATAL: no hosts matched or all hosts have already failed – aborting

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
to retry, use: --limit @/home/vagrant/nginx.retry

191.168.0.2 : ok=0 changed=0 unreachable=1 failed=0

---

<div class="post-metadata">

**Author:** ![Andreas\_Harpfer](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Andreas\_Harpfer](https://forum.ansible.com/u/Andreas_Harpfer)\
**Post date:** [February 10, 2016, 5:01pm UTC](https://forum.ansible.com/t/fatal-191-168-0-2-ansible-playbook/20518/2 "2016-02-10T17:01:26Z")

</div>

[…]

> 191.168.0.2 : ok=0 changed=0 unreachable=1 failed=0

Well, it's pingable 🙂

$ ping 191.168.0.2  
PING 191.168.0.2 (191.168.0.2): 56 data bytes  
64 bytes from 191.168.0.2: icmp\_seq=0 ttl=47 time=479.557 ms  
64 bytes from 191.168.0.2: icmp\_seq=1 ttl=47 time=500.364 ms  
^C  
--- 191.168.0.2 ping statistics ---  
2 packets transmitted, 2 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 479.557/489.961/500.364/10.403 ms

… but SSH isn't running:

$ telnet 191.168.0.2 22  
Trying 191.168.0.2...  
telnet: connect to address 191.168.0.2: Connection refused  
telnet: Unable to connect to remote host

However, maybe you actually just wanted to reach 192… and not 191… ;\_)

SCNR  
-Andi

---

<div class="post-metadata">

**Author:** ![Valentino\_Massimo](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@Valentino\_Massimo](https://forum.ansible.com/u/Valentino_Massimo)\
**Post date:** [February 10, 2016, 6:59pm UTC](https://forum.ansible.com/t/fatal-191-168-0-2-ansible-playbook/20518/3 "2016-02-10T18:59:46Z")

</div>

Hi ,

yeah still not working…the recommendation to run -vvvv … also no joy…

Thanks
