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

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.

主站蜘蛛池模板: 乃东县| 内江市| 普格县| 宁蒗| 阿坝| 留坝县| 定日县| 九龙县| 金溪县| 墨脱县| 漳浦县| 中西区| 全椒县| 宁夏| 巴东县| 巫溪县| 平陆县| 乐昌市| 平湖市| 宁晋县| 泰和县| 城固县| 黔南| 健康| 蒙阴县| 肥西县| 廊坊市| 宜君县| 工布江达县| 沙坪坝区| 虎林市| 武夷山市| 磴口县| 即墨市| 华蓥市| 壤塘县| 南投县| 洛川县| 内乡县| 土默特左旗| 汝阳县|