- Learning Ansible 2.7(Third Edition)
- Fabio Alessandro Locati
- 110字
- 2021-06-24 15:08:43
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.
推薦閱讀
- 腦深部電刺激術(shù)
- 新編男性不育與不孕
- MR臨床手冊(cè)
- 慢性胃炎百家百方
- 角膜塑形鏡驗(yàn)配技術(shù)基礎(chǔ)篇
- 腫瘤精準(zhǔn)放射治療靶區(qū)勾畫(huà)叢書(shū):泌尿系統(tǒng)腫瘤
- 乳腺癌綜合診治規(guī)范化手冊(cè)
- 意識(shí)障礙康復(fù)評(píng)定與治療學(xué)
- 出生缺陷與遺傳性疾病的檢驗(yàn)診斷
- 會(huì)保養(yǎng)的女人年輕20歲
- 硅橡膠修補(bǔ)關(guān)節(jié)軟骨的實(shí)驗(yàn)研究
- 麻醉安全與質(zhì)量管理
- 走進(jìn)孤獨(dú)的世界:為家長(zhǎng)專(zhuān)業(yè)解讀自閉癥
- 帕金森病中西醫(yī)結(jié)合診療與康復(fù)
- 腫瘤與生殖