Drop ansible-core 2.14 and set 2.15 minimum version

* backports #562
* fixes #578

Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
Hideki Saito 2024-10-15 12:28:34 +09:00
parent 31559441dc
commit 73f7519133
No known key found for this signature in database
GPG key ID: 3E1D43AA010AC50A
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: plugin_routing:
callback: callback:
skippy: skippy:

View file

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