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
Today I was dealing with the issue of migrating a...
Table of contents Project Creation Project Struct...
Preface binlog is a binary log file, which record...
1. Page requirements 1) Use standard headers and ...
Table of contents Controller type of k8s Relation...
Table of contents Written in front Several storag...
In daily work, we sometimes run slow queries to r...
Use the following terminal command to install the...
1. Permanent modification, valid for all users # ...
Table of contents About FastDFS 1. Search for ima...
Table of contents 1. Introduction to UDP and Linu...
Preface In a previous project, the CASE WHEN sort...
Table of contents Preface JavaScript find() Metho...
background go-fastdfs is a distributed file syste...
Let's imitate Taobao's function of displa...