ansible报错UsingaSSHpasswordinsteadofakeyisnotp。。。
[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
卷尺
设计