51

ansible基础二-李亮的博客-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13598893/2069781
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.
playboot介绍playbook是由一个或多个“play”组成的列表play的主要功能在于将事先归并为一组的主机装扮成事先通过ansible中的task定义好的角色。从根本上来讲,所谓task无非是调用ansible的一个module。将多个play组织在一个playbook中,即可以让它们联同起来按事先编排的机制同唱一台大戏Playbook采用YAML语言编写YAML语言要求1)在单一档案中

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK