mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Respawn modules to use the system python interpreter SUMMARY 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 ISSUE TYPE Feature Pull Request COMPONENT NAME seboolean selinux firewalld firewalld_info Reviewed-by: Adam Miller <admiller@redhat.com> |
||
|---|---|---|
| .. | ||
| acl | ||
| at | ||
| authorized_key | ||
| firewalld | ||
| firewalld_info | ||
| mount | ||
| patch | ||
| prepare_tests/tasks | ||
| seboolean | ||
| selinux | ||
| setup_pkg_mgr/tasks | ||
| synchronize | ||
| sysctl | ||