September 2018
Beginner to intermediate
214 pages
5h 53m
English
Yum is the original Red Hat package manager that is still in use today. It also has its own module that manages it. Just like dnf, it helps with managing packages and group packages. The following playbook shows how to enable a repository and then install a tool from it, using this module:
- name: add epel repo using yum yum: name: https://dl.fedoraproject.org/pub/epel /epel-release-latest-7.noarch.rpm state: present - name: install ansible using yum yum: name: ansible state: present
Read now
Unlock full access