From 5af62fd254bf642cd3132aecbfdda67ea541373f Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 6 Mar 2018 13:02:37 -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: I9a7150dec09b486010d533a25692962532708035 Signed-off-by: Major Hayden --- tasks/swift_rings.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/swift_rings.yml b/tasks/swift_rings.yml index 47636503..cee57c58 100644 --- a/tasks/swift_rings.yml +++ b/tasks/swift_rings.yml @@ -15,7 +15,6 @@ - include_tasks: swift_rings_selinux.yml when: - - ansible_selinux.status is defined - ansible_selinux.status == "enabled" - include_tasks: swift_rings_md5sum.yml