please help me
I installed ansible on mac os and installed vagrant server. After installation, when I run ansible -i hosts testserver -m ping -vvvv, it does not respond with the following message. I have not been able to solve the cause for a month.
ansible_host=127.0.0.1 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket \"/Users/gimjeonghyeon/.ansible/cp/edc683342f\" does not exist\r\ndebug2: resolving \"ansible_host=127.0.0.1\" port 2222\r\nssh: Could not resolve hostname ansible_host=127.0.0.1: nodename nor servname provided, or not known",
"unreachable": true