返回顶部

pzzning

导航

2019年2月27日 #

ansible hosts文件编写,简单使用测试(普通用户、sudo用户、root用户登录权限测试)

摘要: 一、配置文件修改: 1、备份原配置文件: 2、修改hosts配置文件: 注: 1、可以不设置免密码登录,配置好ansible_ssh_user和ansible_ssh_pass即可 2、若想用登录用户test启用sudo权限,登录目标服务器: 执行visudo命令,最后一行加入 'test ALL= 阅读全文

posted @ 2019-02-27 16:17 pzzning 阅读(5250) 评论(0) 推荐(0) 编辑

ansible 安装

摘要: 1、yum安装: 2、确认安装: 阅读全文

posted @ 2019-02-27 16:03 pzzning 阅读(103) 评论(0) 推荐(0) 编辑

ansible教程

摘要: 相关教程: 权威指南:http://www.ansible.com.cn/ 博客教程:https://www.w3cschool.cn/automate_with_ansible/ 视频教程: http://www.acfun.cn/v/ac4413997 https://www.bilibili. 阅读全文

posted @ 2019-02-27 15:51 pzzning 阅读(180) 评论(0) 推荐(0) 编辑