hi, i'm sorry if this was already covered but why does ansible's ping module giving me an ssh error?
i installed ansible version 2.9.17 on a centos vm. that vm can ping & ssh to my test destination router from the command line. for some reason "ansible lab -m ping" gives me an ssh error. my /etc/ansible/hosts file looks ok (i just started with ansible this monday). what am i missing? [xyz@centos inventory]$ ansible lab -m ping The authenticity of host '10.116.16.50 (10.116.16.50)' can't be established. RSA key fingerprint is SHA256:iAuKXO+RbJ+p6sODXTI4c3Uo8WArXLE+/XQSbWU9vWw. Are you sure you want to continue connecting (yes/no/[fingerprint])? lab891 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@ WARNING: UNPROTECTED PRIVATE KEY FILE! @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nPermissions 0644 for '/home/xyz/.ssh/known_hosts' are too open.\r\nIt is required that your private key files are NOT accessible by others.\r\nThis private key will be ignored.\r\nLoad key \"/home/xyz/.ssh/known_hosts\": bad permissions\r\nxyz@10.116.16.50: Permission denied (publickey,keyboard-interactive,password).", "unreachable": true } [xyz@centos inventory]$ ping 10.116.16.50 PING 10.116.16.50 (10.116.16.50) 56(84) bytes of data. 64 bytes from 10.116.16.50: icmp_seq=1 ttl=251 time=0.635 ms 64 bytes from 10.116.16.50: icmp_seq=2 ttl=251 time=0.719 ms ^C [xyz@centos inventory]$ cat /etc/ansible/hosts [lab] 10.116.16.50 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8f779bba-9a2b-4540-921e-b033a82dcdd0n%40googlegroups.com.