如何获取Ansible:
你能从这里ansible-github地址看到它的代码实现方式,也能给它提issue。
Ansible安装很简单:Ansible的依赖
以上1-3是必须满足的,4或5,2者最少满足其一。那么你才能跟随这个文章继续下去。
Ansible的安装Ubuntu系列
很简单,你只要会用apt-get就能装好它。
$ sudo apt-get install software-properties-common$ sudo apt-add-repository ppa:ansible/ansible$ sudo apt-get update$ sudo apt-get install ansibleCentos系列:$ sudo yum install ansibleMacOS系列:$ brew update$ brew install ansible其他:
这个模式应该99%的Linux都支持,先装好python 2.7然后装pip,,以及easy_install大家都懂的。然后执行:
$ sudo pip install ansible验证安装成功:
恭喜!ansible装好了。 下面呢?
不要急,你需要看下一篇了。
接受失败也等于给了自己从零开始的机会,