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: Ia718479499d4fd15db9ebbc404b5addbad00cc71 Signed-off-by: Major Hayden <major@mhtx.net>
This commit is contained in:
parent
a28482471a
commit
c30cb98efa
@ -90,5 +90,4 @@
|
||||
|
||||
- include_tasks: nova_selinux.yml
|
||||
when:
|
||||
- ansible_selinux.status is defined
|
||||
- ansible_selinux.status == "enabled"
|
||||
|
Loading…
x
Reference in New Issue
Block a user