摘要: Ansible常用模块 ansible的常用模块 hostname 更改主机名 [root@ansible ~]# ansible 192.168.100.20 -m hostname -a 'name=node99' user user: 创建用户 User:管理用户 home 指定家目录路径 s 阅读全文
posted @ 2021-06-10 12:03 isicman 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Ansible ansible安装 在Redhat8 上安装ansible 使用epel-release库 1.使用阿里的镜像源 [root@ansible ~]# curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.co 阅读全文
posted @ 2021-06-10 10:43 isicman 阅读(73) 评论(0) 推荐(0) 编辑
摘要: Ansible简介 (一)Ansible是什么 ansible是新出现的自动化运维工具,基于Python开发,集合了众多运维工具(PupPet. cher,funcfabic)优点,实现了批量系统配置,批量程序部署,批量运行命令等功能. ansible是基于paramiko开发的,并且基于模块化工作 阅读全文
posted @ 2021-06-10 10:28 isicman 阅读(164) 评论(0) 推荐(0) 编辑