Drop install of python-libselinux for RHEL family below 8

RHEL 7 and derivates support has been removed from some time, clean up
of leftovers.
This commit is contained in:
Max Gautier
2025-05-02 14:48:48 +02:00
parent a7d681abff
commit bb4b2af02e
3 changed files with 1 additions and 17 deletions

View File

@@ -58,7 +58,7 @@ pkgs:
libseccomp2:
- "{{ ansible_os_family in ['Debian', 'Suse'] }}"
- "{{ 'k8s_cluster' in group_names }}"
libselinux-python: # TODO: Handle rehat_family + major < 8
libselinux-python:
- "{{ ansible_distribution == 'Amazon' }}"
libselinux-python3:
- "{{ ansible_distribution == 'Fedora' }}"