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

Enabling EPEL

EPEL is the most important repository for Enterprise Linux and it contains a lot of additional packages. It's also a safe repository, since no package in EPEL will conflict with packages in the base repository.

To enable EPEL in RHEL/CentOS 7, it is enough to just install the epel-release package. To do so in Ansible, we will use the following:

- name: Ensure EPEL is enabled 
  yum: 
    name: epel-release 
    state: present 
  become: True 

As you can see, we have used the yum module, as we did in one of the first examples of the chapter, specifying the name of the package and that we want it to be present.

主站蜘蛛池模板: 红原县| 勐海县| 泉州市| 通州区| 石渠县| 凤山县| 吉隆县| 孝感市| 临猗县| 镇坪县| 湟中县| 新田县| 克什克腾旗| 波密县| 安远县| 甘肃省| 恩施市| 天镇县| 梅州市| 甘洛县| 墨江| 泰宁县| 台前县| 克拉玛依市| 涪陵区| 县级市| 汾阳市| 临邑县| 大荔县| 阿巴嘎旗| 丰顺县| 宜良县| 怀来县| 普陀区| 城固县| 绩溪县| 修水县| 怀宁县| 屯昌县| 桂平市| 雷波县|