CENTOS7 ansible Installation

Source: Internet
Author: User
Tags install openssl

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.