First, about Ansible
Simple, agentless, powerful open source it automation tools
Simple,agentless and powerful open source IT automation
Description
1. The host is managed by default via the SSH protocol.
2. Managing hosts to install python2.6 or 2.7 (control host does not support Windows systems)
Second, installation
2.1 Configuring an open source image source
Open http://mirrors.skyshe.cn/#generator
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/D5/wKioL1cKSeuR_pYEAACanTPGbQ8367.png "title=" Repo Build Tool "alt=" Wkiol1ckseur_pyeaacantpgbq8367.png "/>
2.2 Starting the installation
[[Email protected] ~] #yum Install Openssl-devel,python-devel
[[Email protected] ~] #yum groupinstall "Development Tools"
[[Email protected] ~] #easy_install pip
[[Email protected] ~] #pip install Paramiko pyyaml Jinja2 httplib2 Six
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7E/D6/wKioL1cKSwnCpU_YAAA3010FtYw971.png "title=" Installation dependent tools "alt=" Wkiol1ckswncpu_yaaa3010ftyw971.png "/>
[[Email protected] ~] #pip Install Ansible
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/D6/wKioL1cKS0aBaoJnAAAe_MbN4Ds156.png "title=" Ansible2.png "alt=" Wkiol1cks0abaojnaaae_mbn4ds156.png "/>
Third, the installation of errors occurred
1.
Error:command ' gcc ' failed with exit status 1
Python-devel not installed
This article from "Life in the diligent, not So Ho get" blog, please be sure to keep this source http://wangjun51.blog.51cto.com/6124567/1762425
CENTOS7 ansible Installation