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

Playbooks

A playbook, in the classic sense, is about offensive and defensive plays in football. The players keep a record of the plays (plan of action) in a book, usually in the form of a diagram.

In Ansible, a playbook is a series of ordered steps or instructions for an IT process. Think of a nicely-written instruction manual that can be read and understood by humans and computers alike. 

In the subsequent chapters, all the automation we will focus on regarding security will lead us toward building both simple and complex playbooks. 

This is what an Ansible playbook command looks like:

ansible-playbook -i inventory playbook.yml

Ignore the -i flag for now and notice the extension of the playbook file. 

As stated in http://docs.ansible.com/ansible/playbooks_intro.html:

"Playbooks are expressed in YAML format (see YAML syntax (http://docs.ansible.com/ansible/YAMLSyntax.html)) and have a minimum of syntax, which intentionally tries to not be a programming language or script, but rather a model of a configuration or a process."

主站蜘蛛池模板: 惠来县| 新化县| 长阳| 龙门县| 深圳市| 遂宁市| 秦安县| 青河县| 洱源县| 娄烦县| 大港区| 琼中| 叙永县| 肥城市| 呼图壁县| 安仁县| 靖宇县| 沽源县| 泌阳县| 景东| 库伦旗| 乐昌市| 麻阳| 双辽市| 灌云县| 临湘市| 眉山市| 仁怀市| 和平县| 南充市| 屯昌县| 榕江县| 吉木萨尔县| 保德县| 旬阳县| 青海省| 黔东| 嘉峪关市| 社旗县| 仲巴县| 安仁县|