diff --git a/tasks/rhel7stig/lsm.yml b/tasks/rhel7stig/lsm.yml index 6c51bad2..81f34cb4 100644 --- a/tasks/rhel7stig/lsm.yml +++ b/tasks/rhel7stig/lsm.yml @@ -111,8 +111,7 @@ check_mode: no when: - ansible_os_family == 'RedHat' - - ansible_selinux.status is defined - - ansible_selinux.status != 'disabled' + - ansible_selinux.status == 'enabled' tags: - lsm - medium