From a0c7c10099476228412ea3e6e1a167413b0b0a74 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 13 Jan 2024 10:11:36 +0100 Subject: [PATCH] [PR #7827/87866477 backport][stable-7] CI: fix xml tests on RHEL 8 (#7829) CI: fix xml tests on RHEL 8 (#7827) * Try to fix xml installation on RHEL. * Install python-lxml on RHEL 8. Should speed up tests considerably. (cherry picked from commit 878664778e02252698f12bb2a78b0fe4fdb729fd) Co-authored-by: Felix Fontein --- tests/integration/targets/xml/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/integration/targets/xml/tasks/main.yml b/tests/integration/targets/xml/tasks/main.yml index fe46b3ae5c..8235f1a6b6 100644 --- a/tests/integration/targets/xml/tasks/main.yml +++ b/tests/integration/targets/xml/tasks/main.yml @@ -14,6 +14,15 @@ state: present when: ansible_os_family == "FreeBSD" +- name: Install requirements (RHEL 8) + package: + name: + - libxml2-devel + - libxslt-devel + - python3-lxml + state: present + when: ansible_distribution == "RedHat" and ansible_distribution_major_version == "8" + # Needed for MacOSX ! - name: Install lxml pip: