ubuntu14.04安装Ansible,ubuntu14.04ansible


获取安装包的服务器进行替换,避免翻墙

sudo sed  -i  -re  's/\w+\.archive\.ubuntu\.com/archive.ubuntu.com/g'  /etc/apt/sources.list


更新安装库

sudo apt-get update


然后输入最后的四行命令进行安装的操作

sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible

相关内容

    暂无相关文章