- Ansible Playbook Essentials
- Gourav Shah
- 119字
- 2021-07-16 20:47:48
Understanding roles
In real-life scenarios, we will mostly be configuring web servers, database servers, load balancers, middleware queues, and so on. If you take one step back and look at the big picture, you will realize that you are configuring groups of identical servers in a repeatable fashion.
To manage such infrastructures in the most efficient way, we need some abstraction which allows us to define what we need to configure in each of these groups, and call them by name. That's exactly what roles do. Ansible roles allow us to configure groups of nodes at the same time, without repeating ourselves. Roles also provide a way to create modular code, which then can then be shared and reused.
推薦閱讀
- Unity 2020 By Example
- Java語言程序設計
- C++面向對象程序設計(第三版)
- JavaScript從入門到精通(微視頻精編版)
- Cassandra Design Patterns(Second Edition)
- SEO智慧
- Securing WebLogic Server 12c
- 精通網絡視頻核心開發技術
- 零基礎入門學習Python
- Mastering JBoss Enterprise Application Platform 7
- Java高并發核心編程(卷1):NIO、Netty、Redis、ZooKeeper
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- Mastering OpenStack
- 絕密原型檔案:看看專業產品經理的原型是什么樣
- Python3從入門到實戰