Ansible is a new automated operation and maintenance tool developed based on Python. It integrates the advantages of many old operation and maintenance tools to realize batch operating system configuration, batch program deployment, batch command running and other functions. Let's take a look at how to deploy In the command line, extract the Ansible source code, git clone git://github.com/ansible/ansible.git --recursive as shown below Enter the installation directory cd ./ansible directory and execute the installation source ./hacking/env-setup -q If pip is not installed on the system, install the corresponding pip version first: easy_install pip Install the Python modules required by the Ansible control machine pip install paramiko PyYAML Jinja2 httplib2 six When you update the Ansible version, you need to update not only the git source tree, but also the modules in git that point to Ansible itself, called submodules. Once the env-setup script is run, it means that Ansible will clean up the file inventory from the source code. You can specify another location 2. Yum installation method (Centos7x64) Use the rpm command to install the yum extension source: rpm -Uvh http://mirrors.zju.edu.cn/epel/7/x86_64/e/epel-release-7-7.noarch.rpm Install with the yum command, yum -y install ansible You may also be interested in:
|
<<: How to use module fs file system in Nodejs
>>: Common commands for mysql authorization, startup, and service startup
This article shares the specific code of Vue+echa...
Pull the image root@EricZhou-MateBookProX: docker...
Preface In Java programming, most applications ar...
Formation of the grid system In 1692, the newly c...
A simple MySQL full backup script that backs up t...
What is MIME TYPE? 1. First, we need to understand...
Color is one of the most important elements for a...
1. Complex SQL queries 1.1. Single table query (1...
This article shares with you the graphic tutorial...
This article introduces in detail some of the tech...
1. Install Docker First open the Linux environmen...
Table of contents 1.parseInt(string, radix) 2. Nu...
This article uses examples to describe MySQL pess...
1. Complexity of front-end engineering If we are ...
Table of contents 1. Problem 2. Solution 2.1 Pagi...