Add additional check for SElinux

Change-Id: Idc4cec0862cf7070973fce52b2ea490961fdb2e9
This commit is contained in:
Marc Gariepy
2017-03-24 08:08:33 -04:00
parent d1b52f012c
commit 0ea8c8ee66

View File

@@ -39,3 +39,5 @@
- Restart haproxy
when:
- ansible_pkg_mgr == 'yum'
- ansible_selinux.status is defined
- ansible_selinux.status == "enabled"