mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Merge pull request #1479 from wzzrd/selinux
More useful error message for if not HAVE_SELINUX
This commit is contained in:
@@ -164,7 +164,7 @@ def main():
|
||||
)
|
||||
|
||||
if not HAVE_SELINUX:
|
||||
module.fail_json(msg="SELinux not supported on this host.")
|
||||
module.fail_json(msg="This module requires libselinux-python support")
|
||||
|
||||
if not HAVE_SEMANAGE:
|
||||
module.fail_json(msg="This module requires libsemanage-python support")
|
||||
|
||||
Reference in New Issue
Block a user