[jenkins-ci PATCH v2 6/8] guests: Enable PowerTools repo on CentOS 8 guests

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

 



This is needed as all the development packages will come from the
PowerTools repository, which is not enabled by default.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 guests/playbooks/update/tasks/base.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/guests/playbooks/update/tasks/base.yml b/guests/playbooks/update/tasks/base.yml
index 965e442..b3ab738 100644
--- a/guests/playbooks/update/tasks/base.yml
+++ b/guests/playbooks/update/tasks/base.yml
@@ -9,6 +9,14 @@
     - os_name == 'Fedora'
     - os_version == 'Rawhide'
 
+- name: Enable PowerTools repository
+  command: '{{ package_manager }} config-manager --set-enabled PowerTools -y'
+  args:
+    warn: no
+  when:
+    - os_name == 'CentOS'
+    - os_version == '8'
+
 - name: Enable EPEL repository
   package:
     name: epel-release
-- 
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