49

【重点】Ansible---Playbook基本案例-Matbe

 5 years ago
source link: http://blog.51cto.com/13659253/2155021
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是由一个或者多个play组成的列表,主要功能是将task定义好的角色归并为一组进行统一管理。playbooks本身组成部分有如下几份:1、tasks:任务,即调用模块完成的操作2、variables:变量3、templates:模板4、handlers:处理器,当条件满足时执行操作,通常前面使用notify声明。5、roles:角色,分门别类管理playbook

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK