摘要: 背景 裸机安装完系统后使用手动方式发送ansible机器的ssh-key到其他主机总是不够方便 想要找到一种更为简便的方式将key推送到其他主机 方案: expect + shell /etc/ansible/hosts文件中设置密码 ansible -m ping client --ask-pas 阅读全文
posted @ 2022-11-01 23:30 热气球! 阅读(391) 评论(0) 推荐(0) 编辑