deploy-base/roles/hardening/tasks/fedora-selinux.yml

13 lines
362 B
YAML

---
- name: Install required dependency python3-libsemanage
dnf:
name: python3-libsemanage
state: latest
when: (ansible_distribution_major_version is version('31', '>='))
- name: Install required dependency libsemanage-python
dnf:
name: libsemanage-python
state: latest
when: (ansible_distribution_major_version is version('30', '<='))