Do Not Merge - test for ansible-test-sanity-docker-milestone

Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
Hideki Saito 2021-12-19 17:20:37 +09:00
parent a8fcc028c0
commit 15f023505d
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,3 @@
---
trivial:
- test for ansible-test-sanity-docker-milestone.

View file

@ -40,6 +40,7 @@ notes:
requirements:
- libselinux-python
- libsemanage-python
- python3-libsemanage
author:
- Stephen Fromm (@sfromm)
'''
@ -284,7 +285,7 @@ def main():
module.fail_json(msg=missing_required_lib('libselinux-python'), exception=SELINUX_IMP_ERR)
if not HAVE_SEMANAGE:
module.fail_json(msg=missing_required_lib('libsemanage-python'), exception=SEMANAGE_IMP_ERR)
module.fail_json(msg=missing_required_lib('libsemanage-python or python3-libsemanage'), exception=SEMANAGE_IMP_ERR)
ignore_selinux_state = module.params['ignore_selinux_state']