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

Chapter 1. Blueprinting Your Infrastructure

This book is a primer for anyone who has conceptual knowledge of Ansible and would like to get started writing Ansible playbooks to automate common infrastructure tasks, orchestrate application deployments, and/or manage configurations across multiple environments. This book follows an incremental approach, starting with the basics such as learning about the anatomy of a playbook and writing simple roles to create modular code. Once comfortable with the basics, you will be introduced to primitives such as adding dynamic data with variables and templates, and controlling execution flow with conditionals and iterators. This is then followed by more advanced topics such as node discovery, clustering, encrypting data, and managing environments. We conclude with the discussion on the orchestration features of Ansible. Let's begin our journey towards being an Ansible practitioner by learning about playbooks.

In this chapter, we will learn about:

  • The anatomy of a playbook
  • What plays are and how to write a Hosts inventory and search patterns
  • Ansible modules and the batteries-included approach
主站蜘蛛池模板: 杭州市| 桃园市| 宁南县| 无棣县| 兴安县| 乐亭县| 泸州市| 澄迈县| 沁源县| 克东县| 林州市| 宜阳县| 枣庄市| 新丰县| 固始县| 溧水县| 萝北县| 定襄县| 平陆县| 丰镇市| 康乐县| 宜川县| 永登县| 许昌市| 井冈山市| 桃园县| 潮安县| 滁州市| 肥乡县| 大姚县| 潍坊市| 芒康县| 鹤壁市| 屏东县| 扬州市| 贵港市| 蓝田县| 阿巴嘎旗| 连平县| 富源县| 芦山县|