错误

[root@bogon ansible]# ansible test -m ping
192.168.16.155 | FAILED! => {
"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 yourknown_hosts file to manage this host."
}

 

解决办法

vi /etc/ansible/ansible.cfg
[defaults]
forks          = 8           #执行时并发数
host_key_checking = False    #不检测host key

相关文章:

  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-13
  • 2021-06-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2022-02-22
  • 2021-08-05
相关资源
相似解决方案