[stable-2.19] Install `xt_comment` kernel mod @ `iptables` test (#86187) (#86194)

This patch fixes integration test jobs running under RHEL 10.0 that don't have this extension pre-installed.

(cherry picked from commit 69c9fbed26)
pull/86202/head
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) 3 weeks ago committed by GitHub
parent f5d6ac95c0
commit 2657bd7ee5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -35,4 +35,14 @@
# prevent attempts to upgrade the kernel and install kernel modules for a non-running kernel version # prevent attempts to upgrade the kernel and install kernel modules for a non-running kernel version
exclude: "{{ 'kernel-core' if ansible_distribution == 'RedHat' else omit }}" exclude: "{{ 'kernel-core' if ansible_distribution == 'RedHat' else omit }}"
- name: install xt_comment for iptables `-m comment` tests on RHEL 10
dnf:
name:
- kernel-modules-extra-{{ ansible_facts.kernel }}
state: present
exclude:
# prevent attempts to upgrade the kernel and install kernel modules for a non-running kernel version
- kernel-core
when: ansible_distribution == 'RedHat'
- import_tasks: chain_management.yml - import_tasks: chain_management.yml

Loading…
Cancel
Save