问题描述:服务器
[root@iZm5e79rtwsq2hm57teyk5Z ansible]# ansible aofeng -f 5 -m ping 192.168.1.106 | FAILED! => { "failed": true, "msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Please add this host's fingerprint to your known_hosts file to manage this host." } [root@iZm5e79rtwsq2hm57teyk5Z ansible]
host_key_checking = False默认是注释掉的
打开 host_key_checking = False的注释。一样也能够实现跳过 ssh 首次链接提示验证部分。ssh