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

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.

主站蜘蛛池模板: 龙里县| 达州市| 新乡市| 太保市| 垦利县| 资兴市| 凤山县| 濮阳市| 景德镇市| 建德市| 托克托县| 潞城市| 大化| 曲松县| 灵丘县| 同仁县| 阆中市| 仙桃市| 营口市| 焉耆| 平罗县| 田东县| 海阳市| 射洪县| 金坛市| 宁强县| 宝丰县| 石渠县| 抚宁县| 庆安县| 灵石县| 永定县| 津市市| 桂平市| 苗栗市| 东辽县| 张家港市| 根河市| 金秀| 广南县| 云南省|