当前位置:网站首页>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?
- What happens between entering the URL and displaying the page?
- Distributed transaction
- 别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
- MySql实战45讲【全局锁和表锁】
- MySql实战45讲【行锁】
- 文件重命名
- ComponentScan和ComponentScans的区别
- Chart. JS multitooltip tag - chart js multiTooltip labels
- MySql实战45讲【索引】
猜你喜欢

Nasvit: neural architecture search of efficient visual converter with gradient conflict perception hypernetwork training

docker安装mysql

函数栈帧的创建与销毁
![MySQL practice 45 lecture [row lock]](/img/71/344daddee537a96f0d38241e6896e1.png)
MySQL practice 45 lecture [row lock]

MySql实战45讲【索引】
![C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions](/img/4a/1df03d9f3315debb4c335260ed39f2.jpg)
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions

为什么线程崩溃不会导致 JVM 崩溃

Spark on yarn资源优化思路笔记

Idea set method call ignore case

softmax的近似之NCE详解
随机推荐
[C language] MD5 encryption for account password
Do you really understand relays?
为什么线程崩溃不会导致 JVM 崩溃
Pytoch lightweight visualization tool wandb (local)
File rename
403 error displayed when vs cloning
文件重命名
How to use asp Net MVC identity 2 change password authentication- How To Change Password Validation in ASP. Net MVC Identity 2?
解决高並發下System.currentTimeMillis卡頓
MySql实战45讲【SQL查询和更新执行流程】
Force deduction ----- the minimum path cost in the grid
The file marked by labelme is converted to yolov5 format
The series of hyperbolic function in daily problem
基于QT的tensorRT加速的yolov5
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
力扣------网格中的最小路径代价
Chart. JS multitooltip tag - chart js multiTooltip labels
PAT乙级常用函数用法总结
Agile certification (professional scrum Master) simulation exercises
VS克隆时显示403错误