ansible问题:
“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.”
}
解决方法:
vim /etc/ansible/ansible.cfg
找到
host_key_checking = False
打开!
然后就可以了