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

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.

主站蜘蛛池模板: 内乡县| 西宁市| 比如县| 金山区| 克拉玛依市| 修武县| 耒阳市| 莱西市| 广德县| 本溪市| 连山| 黑水县| 陇川县| 巨野县| 锦州市| 翁牛特旗| 教育| 永仁县| 大姚县| 濉溪县| 土默特右旗| 双流县| 扎兰屯市| 武威市| 平原县| 莫力| 靖西县| 肇东市| 延长县| 游戏| 赞皇县| 南汇区| 白城市| 蓝山县| 武功县| 公主岭市| 寿宁县| 进贤县| 乌兰浩特市| 陇川县| 泽普县|