78

Ansible之playbook的使用-karony-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13589448/2068546
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
playbook介绍一.为什么引入playbook我们完成一个任务,例如安装部署一个httpd服务,我们需要多个模块(一个模块也可以称之为task)提供功能来完成。而playbook就是组织多个task的容器,他的实质就是一个文件,有着特定的组织格式,它采用的语法格式是YAML(YetAnotherMarkupLanguage)。YAML语法能够简单的表示散列表,字典等数据结构。具体请参考YAML

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK