On RHEL 7, enable epel using yum-config-manager

Fixing the CI on RHEL 7, it was broken by PR #422

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
This commit is contained in:
Sergei Petrosian 2021-10-06 12:43:50 +02:00 committed by Till Maas
parent 9fd19afa25
commit c0f6038082

View file

@ -9,7 +9,7 @@
creates: /etc/yum.repos.d/epel.repo
- name: Enable EPEL 7
command: yum config-manager --set-enabled epel
command: yum-config-manager --enable epel
when: ansible_distribution_major_version == '7'
args:
warn: false