SSH encountered an unknown error during the connection - Ansible Error

0 votes

I'm running ad hoc ansible tasks instead of adding them in a playbook, but I get this error:

default | FAILED => 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

What is the issue?

Feb 9 in Ansible by Nisha
227 views

1 answer to this question.

0 votes

I think you have not configured your ssh yet. You can do it by executing the following command:

ansible all -i vagrant_ansible_inventory_default -u vagrant --private-key ~/.vagrant.d/insecure_private_key -m ping
answered Feb 9 by Monish

Related Questions In Ansible

0 votes
1 answer
0 votes
3 answers
0 votes
1 answer
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
152 views
0 votes
1 answer