ansible报错UsingaSSHpasswordinsteadofakeyisnotp。。。

ansible报错UsingaSSHpasswordinsteadofakeyisnotp。。。
安装和配置好ansible,执⾏命令时报错如下
[root@test01 ansible-install]# ansible test -m shell -a 'w'
足球袜<37.26 | FAILED | rc=-1 >>
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.
<37.25 | FAILED | rc=-1 >>
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.
<37.24 | FAILED | rc=-1 >>
起重机在线>连接
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]
forks          = 8          #执⾏时并发数
host_key_checking = False    #不检测host key
卷尺设计

本文发布于:2024-09-22 07:26:55,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/4/276529.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:配置   时报   连接   节能   设计   安装
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议