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

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.

主站蜘蛛池模板: 敦化市| 西藏| 光山县| 左贡县| 资溪县| 凤冈县| 阿拉善右旗| 盈江县| 昭通市| 寻甸| 庆元县| 天镇县| 库车县| 永顺县| 托克逊县| 抚松县| 乌拉特中旗| 花垣县| 平凉市| 沂源县| 铜山县| 潮安县| 杭锦后旗| 湖北省| 隆化县| 武山县| 安泽县| 农安县| 大港区| 南宫市| 滦平县| 清涧县| 广东省| 华亭县| 西昌市| 岳阳县| 濮阳市| 纳雍县| 四川省| 浙江省| 双辽市|