mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-07-28 18:34:48 +00:00
selinux: use compat.selinux
Fixes: #502 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -97,7 +97,7 @@ import traceback
|
||||
|
||||
SELINUX_IMP_ERR = None
|
||||
try:
|
||||
import selinux
|
||||
from ansible.module_utils.compat import selinux
|
||||
HAS_SELINUX = True
|
||||
except ImportError:
|
||||
SELINUX_IMP_ERR = traceback.format_exc()
|
||||
|
||||
Reference in New Issue
Block a user