[libvirt] [jenkins-ci PATCH 03/17] guests: Install EPEL on CentOS7

Fabiano Fidêncio fidencio at redhat.com
Tue Oct 1 14:28:19 UTC 2019


EPEL will be needed in order to have both "ninja" and "python36-*"
packages installed on CentOS7.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 guests/playbooks/update/tasks/base.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/guests/playbooks/update/tasks/base.yml b/guests/playbooks/update/tasks/base.yml
index e0efe5d..15ffc07 100644
--- a/guests/playbooks/update/tasks/base.yml
+++ b/guests/playbooks/update/tasks/base.yml
@@ -9,6 +9,13 @@
     - os_name == 'Fedora'
     - os_version == 'Rawhide'
 
+- name: Enable EPEL
+  command: '{{ package_manager }} install epel-release -y'
+  args:
+    warn: no
+  when:
+    - os_name == 'CentOS'
+
 - name: Update installed packages
   package:
     name: '*'
-- 
2.23.0




More information about the libvir-list mailing list