1,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
192.168.9.168
192.168.9.169
192.168.9.250
192.168.9.169
192.168.9.168
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]