当前位置:网站首页>Ansible introduction [unfinished (semi-finished products)]
Ansible introduction [unfinished (semi-finished products)]
2022-07-03 03:23:00 【Johnny. G】
Ansible brief introduction
1、 choice Ansible Why
1)Ansible be based on python Development , and python Gradually popularized , Convenience is right Ansible Secondary development ;
2)Ansible With rich built-in modules ( There are even functional modules specially developed for business platforms ), Meet the needs of daily functions ;
3)Ansible The concept of decentralization , The transfer of the management configuration center can be completed through a simple copy operation ;
4)Ansible No client , After the configuration of the management end is completed, it can be used .
2、Ansible Operation mode
Ansible There is no client , The bottom communication depends on the system software ,Linux The system is based on OpenSSH signal communication ,Windows The system is based on PowerShell signal communication ; The management side must be Linux System , After the user passes the authentication , adopt Ansible The management tool calls various modules and pushes them to the management end for execution , Automatically delete the generated temporary files after execution .
Ansible There are three roles in the working process :
1) Users
1. adopt CMDB( Configuration management database ) Directly issue a command to call Ansible The tool set completes the corresponding required operations ;
2. Ansible be based on PUBLIC( Public cloud )/ PRIVATE( Private cloud ) With API Run as called ;
3. The user uses it directly Ad-Hoc Temporary command set call Ansible Tool sets perform tasks ;
4. The user has pre written Ansible PLAYBOOK( Script ), By executing the pre-defined choreographed task set sequence in the script , Perform tasks
2)Ansible Toolset
1. INVENTORY( detailed list )【 Target object configuration file for command execution 】
2. API( Application programming interface called by third-party program )
3. MODULES( Built-in module )
4. PLUGINS( built-in / Plug ins can be defined )
3) Object of action
Linux & Not Linux host 、 All kinds of public / Private cloud 、 business / Network facilities for non-commercial equipment

3、Ansible signal communication
Ansible The communication mode is based on safety and reliability SSH A secure connection , Also because SSH It's every one Linux The host system is installed by default , therefore Ansible There is no need to install additional processes , Realize no client , And then help complete the idea of decentralization .
1)Ansible SSH Working mechanism
边栏推荐
- C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions
- UMI route interception (simple and rough)
- Lvgl usage experience
- [AI practice] Application xgboost Xgbregressor builds air quality prediction model (I)
- Why does thread crash not cause JVM crash
- idea 加载不了应用市场解决办法(亲测)
- 模型转换onnx2engine
- MongoDB安装 & 部署
- [combinatorics] Application of exponential generating function (multiple set arrangement problem | different balls in different boxes | derivation of exponential generating function of odd / even sequ
- [leetcode question brushing day 34] 540 Unique element in array, 384 Disrupt array, 202 Happy number, 149 Maximum number of points on a line
猜你喜欢
![MySQL Real combat 45 [SQL query and Update Execution Process]](/img/cd/3a635f0c3bb4ac3c8241cb77285cc8.png)
MySQL Real combat 45 [SQL query and Update Execution Process]

docker安装redis

PAT乙级“1104 天长地久”DFS优化思路

Elsevier latex 提交文章 pdftex.def Error: File `thumbnails/cas-email.jpeg‘ not found: using draf

Vs Code configure virtual environment

Idea format code idea set shortcut key format code

Pytoch lightweight visualization tool wandb (local)
![[Chongqing Guangdong education] cultural and natural heritage reference materials of China University of Geosciences (Wuhan)](/img/19/815e7cba81f6eb52db5ef0db556dfd.jpg)
[Chongqing Guangdong education] cultural and natural heritage reference materials of China University of Geosciences (Wuhan)

3D drawing example

VS code配置虚拟环境
随机推荐
The file marked by labelme is converted to yolov5 format
Use three JS make a simple 3D scene
Pat class B "1104 forever" DFS optimization idea
softmax的近似之NCE详解
VS 2019配置tensorRT
Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
Positioning (relative positioning, absolute positioning, fixed positioning, Z-index) 2022-2-11
[mathematical logic] normal form (conjunctive normal form | disjunctive normal form | major item | minor item | maximal item | minor item | principal conjunctive normal form | principal disjunctive no
Introduction à mongodb
Change and access of median value of listening object
Converts a timestamp to a time in the specified format
[mathematical logic] predicate logic (individual word | individual domain | predicate | full name quantifier | existence quantifier | predicate formula | exercise)
VS code配置虚拟环境
二进制流转换成字节数组
VS克隆时显示403错误
Unity3d RPG implementation (medium)
idea 加载不了应用市场解决办法(亲测)
docker安装redis
Summary of electromagnetic spectrum
The idea cannot be loaded, and the market solution can be applied (pro test)