ansible.posix/plugins
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
..
action move plugin to correct dir 2022-10-07 18:30:49 +02:00
callback Merge pull request #441 from jsquyres/pr/json-indent-level 2023-04-27 20:52:09 +00:00
module_utils add helper to respawn modules with system python 2023-05-14 05:44:02 +00:00
modules fix unbound variable error 2023-05-04 07:34:08 +02:00
shell Fixed documentation and options to address new sanity tests 2022-04-01 13:23:45 +09:00