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(a)redhat.com>
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
---
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