Ansible安装(ubuntu14.04环境)
一、安装环境虚拟机1:Ansible管理节点,操作系统ubuntu14.04,IP:192.168.1.101
二、安装
2.1、获取安装包的服务器进行替换,避免翻墙
sudo sed-i-re's/w+.archive.ubuntu.com/archive.ubuntu.com/g'/etc/apt/sources.list
2.2、更新安装库
apt-get update
2.3、开始进行安装
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible
2.4、至此,安装完成
页:
[1]