随笔分类 -  ansible 自动化运维

该文被密码保护。
posted @ 2022-11-13 22:44 supermao12 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2022-11-12 20:05 supermao12 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2022-11-12 11:24 supermao12 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2022-11-11 22:20 supermao12 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2022-11-09 12:09 supermao12 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2022-11-08 14:45 supermao12 阅读(4) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2022-11-02 11:32 supermao12 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2022-10-29 15:49 supermao12 阅读(0) 评论(0) 推荐(0) 编辑
摘要:常用模块 file 模块 管理被控端文件 回显为绿色则,未变更,符合要求 黄色则改变 红色则报错 因为默认值为file,那么文件不存在,报错 改为touch则创建 将state改为directory变成创建目录(默认可以递归) 创建软链接或硬链接 [root@workstation modules] 阅读全文
posted @ 2022-09-02 14:15 supermao12 阅读(253) 评论(0) 推荐(0) 编辑
摘要:ssh用普通用户连接被控端 配置主机清单 (/etc/hosts域名解析为前提) [root@workstation ansible]# cat hosts servera serverb [root@workstation ansible]# pwd /etc/ansible [root@work 阅读全文
posted @ 2022-09-01 12:02 supermao12 阅读(360) 评论(0) 推荐(0) 编辑
摘要:ansible 自动化运维 ansible 部署应用程序 (在操作系统层面之上) 系统初始化过程 主机名,yun源,网络,服务,时间同步,内核参数 (可以在pxe这里完成) ansible可以方便100多台服务器来变更,不至于pxe重新安装 PXE 预启动的执行环境 PXE (Pre-boot Ex 阅读全文
posted @ 2022-08-28 01:05 supermao12 阅读(157) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示