ansible.posix/plugins/module_utils
Maxwell G 8ec2c261bd
add helper to respawn modules with system python
The seboolean, selinux, firewalld, and firewalld_info modules depend on
system bindings that are only available for the default system python
interpreter. ansible-core is not packaged for the default system python
interpreter on RHEL 8 and 9. When automatic interpreter discovery does
not occur (e.g. when using implicit localhost [1]), ansible-core will
not use the system interpreter to run ansible modules and the
aforementioned modules will not work even if the bindings are installed.
The RHEL ansible-core maintainers as well as the EPEL ansible and
ansible-collection-* package maintainers (inc. me) have gotten multiple
bug reports about this. We have been telling people to fix their setup
to use the correct Python interpreter. Fortunately, ansible-core 2.11
and above have a module utility that'll respawn modules to use the
correct system interpreter.

[1] https://docs.ansible.com/ansible/latest/inventory/implicit_localhost.html
2023-05-14 05:44:02 +00:00
..
__init__.py Initial commit 2020-03-09 13:15:28 +00:00
_respawn.py add helper to respawn modules with system python 2023-05-14 05:44:02 +00:00
_version.py Add PSF-license.txt file. 2022-05-16 07:27:10 +02:00
firewalld.py More complete missing lib msg 2022-06-03 18:39:01 -04:00
mount.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30
version.py Support new test-sanity-docker-devel test 2023-03-13 18:11:49 +09:00