执行 # ansible IP地址 -m command -a 'date'

paramiko: The authenticity of host '10.252.129.216' can't be established.

The ssh-rsa key fingerprint is cef5f02a439420eab5472a6384d14ddc.

Are you sure you want to continue connecting (yes/no)?


我不想输入yes或者no,取消这个提示,怎么办?


很简单,修改ansible.cfg的#host_key_checking= False取消注释,即可。