当前位置:网站首页>Ansible简介【暂未完成(半成品)】
Ansible简介【暂未完成(半成品)】
2022-07-03 03:17:00 【Johnny.G】
1、选择Ansible的原因
1)Ansible基于python开发,而python被逐渐普及,方便对Ansible进行二次开发;
2)Ansible具有丰富的内置模块(甚至还有专门为商业平台开发的功能模块),满足日常功能所需;
3)Ansible去中心化概念,可以通过简单的复制操作完成管理配置中心的转移;
4)Ansible无客户端,管理端配置完成后即可使用。
2、Ansible工作方式
Ansible没有客户端,底层通信依靠系统软件,Linux系统基于OpenSSH通信,Windows系统基于PowerShell通信;管理端必须是Linux系统,使用者通过认证后,通过Ansible管理工具调用各种模块推送至管理端执行,执行完毕后自动删除产生的临时文件。
Ansible工作过程下分三种角色:
1)使用者
1. 通过CMDB(配置管理数据库)直接下发命令调用Ansible工具集完成对应所需操作;
2. Ansible基于PUBLIC(公有云)/ PRIVATE(私有云)以API调用的方式运行;
3. 使用者直接使用Ad-Hoc临时命令集调用Ansible工具集执行任务;
4. 使用者预先编写好Ansible PLAYBOOK(剧本),通过执行剧本中预先定义编排好的任务集顺序,执行任务
2)Ansible工具集
1. INVENTORY(清单)【命令执行的目标对象配置文件】
2. API(第三方程序调用的应用程序编程接口)
3. MODULES(内置模块)
4. PLUGINS(内置 / 可定义插件)
3)作用对象
Linux & 非Linux主机、各类公有 / 私有云、商业 / 非商业设备的网络设施

3、Ansible通信
Ansible通信方式是基于安全可靠的SSH安全连接,同时因为SSH是每一台Linux主机系统默认安装完成的,因此Ansible无需额外安装其它进程,实现无客户端,进而助力完成去中心化的思想。
1)Ansible SSH工作机制
边栏推荐
- How to use asp Net MVC identity 2 change password authentication- How To Change Password Validation in ASP. Net MVC Identity 2?
- Use of check boxes: select all, deselect all, and select some
- New programmers use the isXXX form to define Boolean types in the morning, and are discouraged in the afternoon?
- 基于Qt的yolov5工程
- Agile certification (professional scrum Master) simulation exercise-2
- Pat class B "1104 forever" DFS optimization idea
- Parameter index out of range (1 > number of parameters, which is 0)
- QT based tensorrt accelerated yolov5
- Docker install MySQL
- Update and return document in mongodb - update and return document in mongodb
猜你喜欢
![Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence](/img/60/bae0e8d92a53bcd2b2de3fb22b3b99.jpg)
Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence

Pytoch lightweight visualization tool wandb (local)

函数栈帧的创建与销毁
![C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 05 data input and output](/img/38/9c460fc58b62609dd02e7c61207ae6.jpg)
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 05 data input and output
![45 lectures on MySQL [index]](/img/f6/70be00028908cbd9ed7f2c77687cee.png)
45 lectures on MySQL [index]

TCP handshake three times and wave four times. Why does TCP need handshake three times and wave four times? TCP connection establishes a failure processing mechanism
![[pyg] understand the messagepassing process, GCN demo details](/img/8b/8490aac98fd2753e661f74e284f43d.png)
[pyg] understand the messagepassing process, GCN demo details

MySql實戰45講【SQL查詢和更新執行流程】

I2C subsystem (I): I2C spec

Vs 2019 configuration tensorrt
随机推荐
Destroy the session and empty the specified attributes
Bigvision code
二维数组中的元素求其存储地址
The idea setting code is in UTF-8 idea Properties configuration file Chinese garbled
C#通用接口调用
VS克隆时显示403错误
Use of El tree search method
The series of hyperbolic function in daily problem
Model transformation onnx2engine
[mathematical logic] predicate logic (individual word | individual domain | predicate | full name quantifier | existence quantifier | predicate formula | exercise)
使用InputFilter限制EditText时踩坑及解决方案
[AI practice] Application xgboost Xgbregressor builds air quality prediction model (I)
I2C subsystem (I): I2C spec
900W+ 数据,从 17s 到 300ms,如何操作
[algebraic structure] group (definition of group | basic properties of group | proof method of group | commutative group)
L'index des paramètres d'erreur est sorti de la plage pour les requêtes floues (1 > Nombre de paramètres, qui est 0)
MySql实战45讲【SQL查询和更新执行流程】
labelme标记的文件转换为yolov5格式
ComponentScan和ComponentScans的区别
Are there any recommended term life insurance products? I want to buy a term life insurance.