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