错误
[root@bogon ansible]# ansible test -m ping
192.168.16.155 | FAILED! => {
"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 yourknown_hosts file to manage this host."
}
解决办法
vi /etc/ansible/ansible.cfg
[defaults]
forks = 8 #执行时并发数
host_key_checking = False #不检测host key