当前位置:网站首页>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
边栏推荐
- Left connection, inner connection
- Positioning (relative positioning, absolute positioning, fixed positioning, Z-index) 2022-2-11
- What happens between entering the URL and displaying the page?
- PAT乙级“1104 天长地久”DFS优化思路
- labelimg生成的xml文件转换为voc格式
- Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
- umi 路由拦截(简单粗暴)
- How to make backgroundworker return an object
- The series of hyperbolic function in daily problem
- Pytoch configuration
猜你喜欢

VS 2019 配置tensorRT生成engine

Summary of electromagnetic spectrum

Limit of one question per day

Spark on yarn资源优化思路笔记

docker安装mysql

Lvgl usage experience

VS 2019安装及配置opencv

Vs 2019 installation and configuration opencv

docker安装redis

Positioning (relative positioning, absolute positioning, fixed positioning, Z-index) 2022-2-11
随机推荐
@Accessors annotation function specifies that the prefix follows the hump naming
2020-01-01t00:00:00.000000z date format conversion
Elsevier latex 提交文章 pdftex.def Error: File `thumbnails/cas-email.jpeg‘ not found: using draf
别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
Use of El tree search method
Avec trois. JS fait une scène 3D simple
Pytorch multi card distributed training distributeddataparallel usage
渤、黄海的潮汐特征
Why does thread crash not cause JVM crash
LVGL使用心得
Stepping on pits and solutions when using inputfilter to limit EditText
Pat class B "1104 forever" DFS optimization idea
MongoDB主配置文件
com. fasterxml. jackson. databind. Exc.invalidformatexception problem
MySQL practice 45 [global lock and table lock]
VS克隆时显示403错误
PHP constructor with parameters - PHP constructor with a parameter
监听对象中值变化及访问
Vs 2019 configuration du moteur de génération de tensorrt
@Accessors注解作用指定前缀遵守驼峰命名