ansible服务端
# vim /etc/ansible/ansible.cfg
############################
host_key_checking = False
############################
ansible客户端
# echo "UseDNS no" >> /etc/ssh/sshd_config
# echo "GSSAPIAuthentication no" >> /etc/ssh/sshd_config
# systemctl restart sshd
网友评论