当前位置:网站首页>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
边栏推荐
- 基于C语言的哈夫曼转化软件
- [GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)
- Oracle 19C OCP 1z0-082 certification examination question bank (24-29)
- The data read by Flink Oracle CDC is always null. Do you know
- [untitled]
- Mysql/mariadb (Galera multi master mode) cluster construction
- 【搜索专题】看完必会的搜索问题之洪水覆盖
- Maximum common substring & regularity problem
- flink oracle cdc 读取数据一直为null,有大佬知道么
- 2022-7-9 personal qualifying 6 competition experience
猜你喜欢
随机推荐
Oracle 19C OCP 1z0-082 certification examination question bank (24-29)
[abstract base class inheritance, DOM, event - learning summary]
Flutter compilation fails
Logic of data warehouse zipper table
Fluent uses protobuf
23.10 Admin features
BGP -- Border Gateway Protocol
Fluent custom popupmenubutton
利用模m的原根存在性判断以及求解
Transfer guide printing system based on C language design
2022/7/18 exam summary
Oracle 19C OCP 1z0-082 certification examination question bank (42-50)
22-07-14 personal training match 2 competition experience
Kotlin中room数据库的使用
KV database based on raft consensus protocol
What are the contents of Oracle OCP and MySQL OCP certification exams?
2022-7-6 personal qualifying 3 competition experience
[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)
基于C语言设计的换乘指南打印系统
Status management bloc provider geTx








