Merge "Simplify SELinux check"

This commit is contained in:
Zuul 2018-03-15 15:02:32 +00:00 committed by Gerrit Code Review
commit 27965b5f02

View File

@ -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