Compare commits

..

2 commits

Author SHA1 Message Date
softwarefactory-project-zuul[bot]
3fcaa30290
Merge pull request #580 from saito-hideki/stable-1
[backport][stable-1] Drop ansible-core 2.14 and set 2.15 minimum version

SUMMARY

Drop ansible-core 2.14 and set 2.15 minimum version.
Modify conditions for selinux integration tests to avoid RHEL7.9 integration test failure.


backports #562
fixes #578

ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME

ansible.posix(stable-1)

ADDITIONAL INFORMATION
None
2024-10-15 23:55:57 +00:00
Hideki Saito
73f7519133
Drop ansible-core 2.14 and set 2.15 minimum version
* backports #562
* fixes #578

Signed-off-by: Hideki Saito <saito@fgrep.org>
2024-10-15 16:38:47 +09:00
3 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1,5 @@
---
bugfixes:
- backport - Drop ansible-core 2.14 and set 2.15 minimum version (https://github.com/ansible-collections/ansible.posix/issues/578).
trivial:
- selinux - conditions for selinux integration tests have been modified to be more accurate.

View file

@ -1,5 +1,5 @@
---
requires_ansible: ">=2.14.0"
requires_ansible: ">=2.15.0"
plugin_routing:
callback:
skippy:

View file

@ -128,8 +128,8 @@
ansible.builtin.assert:
that:
- selinux_config_original | length == selinux_config_after | length
- selinux_config_after[selinux_config_after.index('SELINUX=disabled')] is search("^SELINUX=\w+$")
- selinux_config_after[selinux_config_after.index('SELINUXTYPE=targeted')] is search("^SELINUXTYPE=\w+$")
- (selinux_config_after | select("search", "^SELINUX=disabled\s*$") | list | length) > 0
- (selinux_config_after | select("search", "^SELINUXTYPE=targeted\s*$") | list | length) > 0
- name: TEST 1 | Disable SELinux again, with kernel arguments update
ansible.posix.selinux: