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