From c30cb98efad8c0d405503a3623ee5510eb79b5d2 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 6 Mar 2018 13:01:29 -0600 Subject: [PATCH] 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 --- tasks/nova_post_install.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/nova_post_install.yml b/tasks/nova_post_install.yml index b6501cfa..ab52a70c 100644 --- a/tasks/nova_post_install.yml +++ b/tasks/nova_post_install.yml @@ -90,5 +90,4 @@ - include_tasks: nova_selinux.yml when: - - ansible_selinux.status is defined - ansible_selinux.status == "enabled"