一.
生成密钥对
上传密钥对
验证免交互式认证
修改yum配置文件
安装ansible
配置ansbile客户端
测试客户端连通性
二、ansible的应用
ansible交互式管理
使用ansible交互式工具
切换组
列出客户端
shell模组
使用shell模组查看sshd
使用shell重定向操作
Command 模组
使用Command 模组切换目录
copy 模组
(1)使用copy模组修改文件名字、权限、所属用户、和组
yum模块
(1)使用yum模块安装httpd
service
(1)使用service启动htppd服务
.User
(1)使用user创建用户