当前位置:网站首页>Ansible important components (playbook)
Ansible important components (playbook)
2022-07-26 08:40:00 【afei00123】
Ansible playbook Documentstion:https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.9.html#playbook
Ansible Source code :https://github.com/ltfafei/ansible
1.playbook Introduction and basic grammar
Playbook The Chinese meaning is : Script . Reasonable compilation playbook Scripts can be used ansible Deploy more complex businesses , Improve work efficiency .nsible paybook The file format is YAML grammar , So I want to write something that can work correctly playbook Script , First of all, understand yaml grammar .
(1)YAML Introduction and grammar
YAML Its syntax is similar to other high-level languages , And can express the list simply 、 Hash table , Scalar data form .
grammar :
(1) Case sensitive ;
(2) Use indentation to indicate hierarchy ;
(3) Indenting is not allowed tab, Only spaces are allowed ;
(4) The number of indented spaces doesn't matter , Just align the elements at the same level to the left ;
(5)’#' Notation .
YAML Official website :https://yaml.org/spec/1.2/spec.html
(2)pla
边栏推荐
- BGP -- Border Gateway Protocol
- After MySQL 8 OCP (1z0-908), hand in your homework
- Sub Chocolate & paint area
- Transfer guide printing system based on C language design
- MySQL 8.0 OCP (1z0-908) has a Chinese exam
- What are the contents of Oracle OCP and MySQL OCP certification exams?
- Alphabetic string
- Mysql/mariadb (Galera multi master mode) cluster construction
- Flutter upgrade 2.10
- Automation and disconnection monitoring of video addition
猜你喜欢
NLP (natural language processing) natural language processing learning
Spark persistence strategy_ Cache optimization
Super nice navigation page (static page)
Winter vacation homework & Stamp cutting
[GUI] swing package (window, pop-up window, label, panel, button, list, text box)
Kotlin variables and constants
Human computer interaction software based on C language
Spark scheduling analysis
[untitled]
6、 Pinda general permission system__ pd-tools-log
随机推荐
各位老师,请问在flinkcdc中,sqlserver如何获取到ddl?
解决C#跨线程调用窗体控件的问题
23.8 using the applicationrunner or commandlinerunner to implement applicationrunner and commandlinerunner
Oracle 19C OCP 1z0-082 certification examination question bank (24-29)
After MySQL 8 OCP (1z0-908), hand in your homework
Kotlin data type
Web3 Games: current situation and future
Flitter imitates wechat long press pop-up copy recall paste collection and other custom customization
Number of briquettes & Birthday Candles & building blocks
Grid segmentation
Code cloud change remote warehouse command
【FreeSwitch开发实践】自定义模块创建与使用
Nodejs2day(nodejs的模块化,npm下载包,模块加载机制)
The second lesson is the construction of development environment
利用模m的原根存在性判断以及求解
Automation and disconnection monitoring of video addition
[untitled]
Oracle 19C OCP 1z0-082 certification examination question bank (13-18)
2022 national vocational college skills competition "network security" competition question file upload penetration test answer flag
Please tell me if there is any way to increase the write out rate when the Flink SQL client is in the sink table. When synchronizing through sink table