官术网_书友最值得收藏!

Working with playbooks

Playbooks are one of the core features of Ansible and tell Ansible what to execute. They are like a to-do list for Ansible that contains a list of tasks; each task internally links to a piece of code called a module. Playbooks are simple, human-readable YAML files, while modules are a piece of code that can be written in any language, with the condition that its output be in the JSON format. You can have multiple tasks listed in a playbook, and these tasks would be executed serially by Ansible. You can think of playbooks as an equivalent of manifests in Puppet, states in Salt, or cookbooks in Chef; they allow you to enter a list of tasks or commands you want to execute on your remote system.

主站蜘蛛池模板: 曲麻莱县| 开平市| 河南省| 雷州市| 金坛市| 礼泉县| 松江区| 扶沟县| 德令哈市| 聊城市| 本溪| 宁国市| 龙川县| 绥江县| 吴江市| 长泰县| 中江县| 道真| 奉贤区| 监利县| 嘉定区| 菏泽市| 呈贡县| 焉耆| 百色市| 湾仔区| 收藏| 静宁县| 聂荣县| 桃源县| 淮阳县| 曲阜市| 咸阳市| 会泽县| 高青县| 左贡县| 达孜县| 齐河县| 诸城市| 龙江县| 于田县|