ansible.posix/tests/integration/targets
softwarefactory-project-zuul[bot] 6f95c8b356
Merge pull request #460 from gotmax23/respawn
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>
2023-11-30 17:03:21 +00:00
..
acl Replace 'include:' with 'include_tasks:'. 2023-05-21 13:17:48 +02:00
at Revert "Enable at, patch and synchronize tests (#5)" (#35) 2020-06-04 15:54:14 -05:00
authorized_key Fix to follow pylint check in ansible-test-sanity-docker-devel 2022-09-12 10:30:01 +09:00
firewalld respawn firewalld module when selinux is missing 2023-05-14 05:44:47 +00:00
firewalld_info Add new firewalld_info module to ansible.posix collection 2021-07-09 23:47:12 +09:00
mount Add ephemeral state to mount fs without altering fstab 2022-06-03 08:46:21 +02:00
patch patch - add integration test for ignore_whitespace 2020-07-12 12:09:56 +02:00
prepare_tests/tasks Initial commit 2020-03-09 13:15:28 +00:00
seboolean Replace 'include:' with 'include_tasks:'. 2023-05-21 13:17:48 +02:00
selinux Replace 'include:' with 'include_tasks:'. 2023-05-21 13:17:48 +02:00
setup_pkg_mgr/tasks Enable firewalld tests 2021-08-02 20:26:42 +05:30
synchronize Whitespaces in paths or current working directory path of playbook causes rsync to incorrectly chdir to current source dir, 2021-10-25 19:44:43 +01:00
sysctl fix sysctl integration test failing on newer versions of core 2023-05-05 11:59:04 -05:00