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

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
主站蜘蛛池模板: 巩义市| 托克逊县| 甘德县| 尖扎县| 石阡县| 永宁县| 眉山市| 武穴市| 前郭尔| 静安区| 泾川县| 和田市| 馆陶县| 潞城市| 安溪县| 伊春市| 子长县| 德令哈市| 洛隆县| 黄冈市| 迁安市| 平利县| 紫金县| 鹤峰县| 延寿县| 同心县| 绥中县| 苏尼特右旗| 浦东新区| 嘉黎县| 科技| 青阳县| 丹江口市| 遂宁市| 丁青县| 宣城市| 集贤县| 东乌| 武山县| 晋州市| 黔南|