码迷,mamicode.com
首页 > 其他好文 > 详细

1,Ansible---安装与配置

时间:2017-08-22 00:25:38      阅读:121      评论:0      收藏:0      [点我收藏+]

标签:ansible 安装与配置

下载网站:http://releases.ansible.com/ansible/
中文网站:http://www.ansible.com.cn/docs/
网站:http://docs.ansible.com/ansible/index.html
epel源:http://fedoraproject.org/wiki/EPEL

yum install epel*
yum install ansible

控制端:
vim /etc/ansible/hosts
[ALL]
192.168.9.168
192.168.9.169
192.168.9.250

[hall]
192.168.9.169
192.168.9.168

[ddz]
192.168.9.250
配置无密码登录
# ssh-keygen -t rsa
# ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.9.169
# ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.9.168
# ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.9.176


1,Ansible---安装与配置

标签:ansible 安装与配置

原文地址:http://wupengfei.blog.51cto.com/7174803/1958152

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!