当前位置:网站首页>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
边栏推荐
- 6、 Pinda general permission system__ pd-tools-log
- JS工具函数大全
- Write common API tools swagger and redoc
- Oracle 19C OCP 1z0-082 certification examination question bank (30-35)
- Maximum common substring & regularity problem
- 23.9 application exit application exit
- 【FreeSwitch开发实践】使用SIP客户端Yate连接FreeSwitch进行VoIP通话
- Neo eco technology monthly | help developers play smart contracts
- MySQL 8.0 OCP 1z0-908 certification examination question bank 1
- QSS add resource file of QT
猜你喜欢

Add in the registry right click to open in vscode

B title: razlika priority queue approach

2022-7-6 personal qualifying 3 competition experience

Excel delete blank lines

Poor English, Oracle OCP or MySQL OCP exam can also get a high score of 80 points

QT note 2

QT note 1

File management file system based on C #

shell编程

The second lesson is the construction of development environment
随机推荐
[time complexity, space complexity]
Kotlin function
Oracle 19C OCP 1z0-082 certification examination question bank (7-12)
22-07-12 personal training match 1 competition experience
Web3 Games: current situation and future
Spark persistence strategy_ Cache optimization
各位老师,请问在flinkcdc中,sqlserver如何获取到ddl?
2022-7-7 personal qualifying 4 competition experience
IC's first global hacking bonus is up to US $6million, helping developers venture into web 3!
12306 ticket system crawling - 1. Saving and reading of city code data
shell编程
Special Lecture 3 number theory + game theory learning experience (should be updated for a long time)
Why reserve a capacitor station on the clock output?
Prefix infix suffix expression (written conversion)
基于C语言实现的人机交互软件
Flutter upgrade 2.10
A summary of practical websites that won't brighten people's eyes
If Yi Lijing spits about programmers
Analysis on the query method and efficiency of Oracle about date type
QSS add resource file of QT