Fix selinux check when disabled

Change-Id: Ibd52b4c174e7b9eb6305dbcdb12c7d675b6fcf94
This commit is contained in:
Marc Gariepy 2017-03-03 12:04:22 -05:00 committed by Marc Gariépy
parent 7caec98c14
commit 8f7d132e63

View File

@ -66,6 +66,7 @@
check_mode: no
when:
- ansible_os_family == 'RedHat'
- ansible_selinux.status is defined
- ansible_selinux.status != 'disabled'
tags:
- lsm