r/base: Conditionally install Python SELinux libs

We do not need to install the SELinux bindings for operating systems
that do not support SELinux.
This commit is contained in:
2025-12-01 09:58:56 -06:00
parent 1089927be3
commit 4fc0e7bdec

View File

@@ -17,6 +17,8 @@
package:
name: '{{ selinux_python_libs }}'
state: present
when:
ansible_selinux.status == 'enabled'
notify:
- gather facts
tags: