ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
hosts配置密码登陆 ``` [xxx] 192.168.23.55 ansible_ssh_user=root ansible_ssh_pass=123456 ``` 测试连通性 `ansible all -i ./hosts -m ping` 报错 ~~~ 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. ~~~ 解决方法: ~~~ vi /etc/ansible/ansible.cfg [defaults] host_key_checking = False #不检测host key ~~~