mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Do Not Merge - test for ansible-test-sanity-docker-milestone
Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
parent
a8fcc028c0
commit
15f023505d
2 changed files with 5 additions and 1 deletions
3
changelogs/fragments/dnm_sanity_milestone.yml
Normal file
3
changelogs/fragments/dnm_sanity_milestone.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
trivial:
|
||||
- test for ansible-test-sanity-docker-milestone.
|
||||
|
|
@ -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']
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue