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

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.

主站蜘蛛池模板: 尚志市| 衡阳县| 内黄县| 望都县| 民县| 惠来县| 宁南县| 丹寨县| 女性| 故城县| 鄂托克前旗| 枣庄市| 沈阳市| 齐齐哈尔市| 江安县| 巨鹿县| 徐州市| 兴隆县| 麟游县| 横峰县| 乐安县| 福安市| 丽水市| 晋中市| 霍林郭勒市| 邢台县| 长宁县| 三原县| 荆州市| 新干县| 衡南县| 沧州市| 西充县| 兴城市| 中方县| 河间市| 武鸣县| 平遥县| 绥宁县| 临漳县| 新昌县|