[jenkins-ci PATCH] lcitool: Only install EPEL on CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes a bug introduced by commit 0a7993d3ed30 which caused
our machinery to try to install the epel-release on all targets,
including the likes of Debian and even FreeBSD.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
Pushed under the build breaker rule.

 guests/playbooks/update/tasks/base.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guests/playbooks/update/tasks/base.yml b/guests/playbooks/update/tasks/base.yml
index 8128975..f721e39 100644
--- a/guests/playbooks/update/tasks/base.yml
+++ b/guests/playbooks/update/tasks/base.yml
@@ -21,6 +21,8 @@
   package:
     name: epel-release
     state: latest
+  when:
+    - os_name == 'CentOS'
 
 - name: Create OpenVZ key
   template:
-- 
2.23.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux