Simplify SELinux check
The ansible_selinux variable is always populated with a 'status' property, even if SELinux is not installed or configured. This patch simplifies the check. Change-Id: I3b3578e9a7edf9699f85031125a43714401095ee Signed-off-by: Major Hayden <major@mhtx.net>
This commit is contained in:
parent
3b83af571b
commit
2be5e0f579
@ -86,5 +86,4 @@
|
||||
|
||||
- include: cinder_selinux.yml
|
||||
when:
|
||||
- ansible_selinux.status is defined
|
||||
- ansible_selinux.status == "enabled"
|
||||
|
Loading…
Reference in New Issue
Block a user