CI: Use kernel-modules-extra-matched package

The installation of the kernel-modules-extra package could fail when
running a debug kernel, as is the case for OpenDev CentOS Stream images.

Use kernel-modules-extra-matched to install the package matching the
running kernel.

Change-Id: Ia9652d0e25e6f472706de2b5eda72779a02a42af
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
This commit is contained in:
Pierre Riteau committed 2026-08-10 12:28:20 +02:00
1 parent 312d2711b3
commit bef0e93b4e
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@
- name: Install kernel-modules-extra for running kernel
ansible.builtin.dnf:
name: "kernel-modules-extra-{{ ansible_facts.kernel }}"
name: "kernel-modules-extra-matched"
state: present
when: ansible_facts.os_family == 'RedHat'