Ansible服务器端创建SSH本地秘钥 # ssh-keygen -t rsa Ansible服务器端简历与目标部署机器的秘钥认证 # ssh-copy-id -i /home/deploy/.ssh/id_rsa.pub root@192.168.220.126