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:
@@ -17,6 +17,8 @@
|
||||
package:
|
||||
name: '{{ selinux_python_libs }}'
|
||||
state: present
|
||||
when:
|
||||
ansible_selinux.status == 'enabled'
|
||||
notify:
|
||||
- gather facts
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user