随笔分类 -  ansible

摘要:ansible 安装 pip install ansible==2.9.1 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com 测试ansible 连接 [root@localhost ~]# ansible all -m 阅读全文
posted @ 2020-12-08 10:05 鲁哒哒 阅读(87) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/keme/p/11351611.html#231-sshkey-%E8%AE%A4%E8%AF%81 阅读全文
posted @ 2020-11-25 17:45 鲁哒哒 阅读(86) 评论(0) 推荐(0)
摘要:ansible 控制端生产密钥 1.使用 ssh-keygen -t rsa生成密钥对 ssh-keygen -t rsa 2.配置将客户端信息加到ansible得hosts配置文件中 [test] 192.168.252.213 ansible_ssh_user=root ansible_ssh_ 阅读全文
posted @ 2020-11-25 17:01 鲁哒哒 阅读(515) 评论(0) 推荐(0)