ansible报错UsingaSSHpasswordinsteadofakeyisnotp。。。

更新时间:2023-06-16 18:28:15 阅读: 评论:0

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 becau Host Key checking is enabled and sshpass does not support this.  Plea 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 becau Host Key checking is enabled and sshpass does not support this.  Plea 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 becau Host Key checking is enabled and sshpass does not support this.  Plea 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 = Fal    #不检测host key

本文发布于:2023-06-16 18:28:15,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/969698.html

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

标签:文章   维修   青椒   配置   时报   肉丝   安装   命令
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图