当前位置:网站首页>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工作机制
边栏推荐
- Vs 2019 configure tensorrt to generate engine
- C # general interface call
- I2C subsystem (II): I3C spec
- MySql实战45讲【SQL查询和更新执行流程】
- 从输入URL到页面展示这中间发生了什么?
- The calculation of stripe, kernel and padding in CNN
- Convert binary stream to byte array
- Summary of determinant knowledge points in Chapter 1 of Linear Algebra (Jeff's self perception)
- 为什么线程崩溃不会导致 JVM 崩溃
- Pat class B common function Usage Summary
猜你喜欢
![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

Elsevier latex submitted the article pdftex def Error: File `thumbnails/cas-email. jpeg‘ not found: using draf
![[error record] the parameter 'can't have a value of' null 'because of its type, but the im](/img/1c/46d951e2d0193999f35f14d18a2de0.jpg)
[error record] the parameter 'can't have a value of' null 'because of its type, but the im

MySql实战45讲【事务隔离】

docker安装redis

Don't use the new Dede collection without the updated Dede plug-in

Yiwen takes you to know ZigBee

Idea format code idea set shortcut key format code

Summary of matrix knowledge points in Chapter 2 of Linear Algebra (Jeff's self perception)

Pat class B "1104 forever" DFS optimization idea
随机推荐
力扣------网格中的最小路径代价
复选框的使用:全选,全不选,选一部分
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)
Reset or clear NET MemoryStream - Reset or Clear . NET MemoryStream
敏捷认证(Professional Scrum Master)模拟练习题-2
@Accessors注解作用指定前缀遵守驼峰命名
3D drawing example
Limit of one question per day
监听对象中值变化及访问
C # webrequest post mode, based on "basic auth" password authentication mode, uploads files and submits other data using multipart / form data mode
Sous - système I2C (IV): débogage I2C
45 lectures on MySQL [index]
Variable declarations following if statements
Limit of one question per day
Basic information of Promethus (I)
umi 路由拦截(简单粗暴)
Idea set method call ignore case
敏捷认证(Professional Scrum Master)模拟练习题
别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
idea 加载不了应用市场解决办法(亲测)