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

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
主站蜘蛛池模板: 遵化市| 嘉定区| 舒城县| 徐州市| 信丰县| 鹿邑县| 江永县| 嘉禾县| 西华县| 满洲里市| 抚顺市| 友谊县| 托里县| 固原市| 巴塘县| 罗平县| 育儿| 双江| 兰考县| 洪洞县| 广元市| 尚志市| 玉树县| 贺州市| 长岭县| 富顺县| 石河子市| 昆山市| 道孚县| 商洛市| 微山县| 宝坻区| 砀山县| 贵定县| 杭州市| 米易县| 汉中市| 绥化市| 大丰市| 平顶山市| 六枝特区|