1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #7827/87866477 backport][stable-6] CI: fix xml tests on RHEL 8 (#7828)

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 878664778e)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2024-01-13 10:11:32 +01:00 committed by GitHub
parent 0805f97905
commit 5a1ea5bac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,15 @@
state: present state: present
when: ansible_os_family == "FreeBSD" 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 ! # Needed for MacOSX !
- name: Install lxml - name: Install lxml
pip: pip: