当前位置:网站首页>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工作机制
边栏推荐
- The series of hyperbolic function in daily problem
- 将时间戳转为指定格式的时间
- [error record] the parameter 'can't have a value of' null 'because of its type, but the im
- 力扣------网格中的最小路径代价
- Notifydatasetchanged not applicable to recyclerview - notifydatasetchanged not working on recyclerview
- 分布式事务
- @Accessors annotation function specifies that the prefix follows the hump naming
- 900W+ 数据,从 17s 到 300ms,如何操作
- [combinatorics] Application of exponential generating function (multiple set arrangement problem | different balls in different boxes | derivation of exponential generating function of odd / even sequ
- Destroy the session and empty the specified attributes
猜你喜欢
![MySQL practice 45 lecture [transaction isolation]](/img/a5/5420651d6be51e892976f02be8c43c.png)
MySQL practice 45 lecture [transaction isolation]

Use of El tree search method

Limit of one question per day

docker安装mysql
![[pyg] understand the messagepassing process, GCN demo details](/img/8b/8490aac98fd2753e661f74e284f43d.png)
[pyg] understand the messagepassing process, GCN demo details

VS code配置虚拟环境

The series of hyperbolic function in daily problem

UMI route interception (simple and rough)

MySql实战45讲【索引】

docker安装redis
随机推荐
docker安装mysql
Force freeing memory in PHP
Pytorch轻量级可视化工具wandb(local)
二进制流转换成字节数组
PAT乙级常用函数用法总结
后管中编辑与预览获取表单的值写法
900W+ 数据,从 17s 到 300ms,如何操作
左连接,内连接
New programmers use the isXXX form to define Boolean types in the morning, and are discouraged in the afternoon?
程序员新人上午使用 isXxx 形式定义布尔类型,下午就被劝退?
Summary of matrix knowledge points in Chapter 2 of Linear Algebra (Jeff's self perception)
VS 2019配置tensorRT
Idea format code idea set shortcut key format code
[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
Chart. JS multitooltip tag - chart js multiTooltip labels
Opengauss database development and debugging tool guide
C# WebRequest POST模式 ,基于“Basic Auth”口令认证模式,使用multipart/form-data方式上传文件及提交其他数据
C # webrequest post mode, based on "basic auth" password authentication mode, uploads files and submits other data using multipart / form data mode
BigVision代码
Destroy the session and empty the specified attributes