Chinaunix首页 | 论坛 | 博客
  • 博客访问: 319928
  • 博文数量: 72
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 748
  • 用 户 组: 普通用户
  • 注册时间: 2018-09-21 18:49
文章分类

全部博文(72)

我的朋友

发布时间:2018-12-05 19:04:15

(一)配置文件错误 /etc/ansible/hosts1     执行命令ansible webserver -m setup发生如下错误,[WARNING]: Could not match supplied host pattern, ignoring: webserver [WARNING]: No hosts matched, nothing to do正确的写法是:ansible webservers -m setup.........【阅读全文】

阅读(7974) | 评论(0) | 转发(0)

发布时间:2018-12-05 18:30:22

说明:1. 准备3台虚拟机,ip分别是:192.168.18.10,192.168.18.11,192.168.18.12   192.168.18.10:安装ansible,为剩下两台服务器做批量部署(一)安装yum -y install epel-releaseyum -y install ansible(二)编辑配置文件vim /etc/ansible/hosts 添加服务器(三)配置客户端(无密码登录)1. ssh-keygen2..........【阅读全文】

阅读(903) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

tomcoding2019-01-09 13:31

高技术含量的源代码下载,百度tomcoding

回复  |  举报
留言热议
请登录后留言。

登录 注册