mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
Compare commits
4 commits
ebb788e692
...
6401daad76
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6401daad76 | ||
|
|
9171b7fcf1 | ||
|
|
2f095566c7 | ||
|
|
cd941397d9 |
3 changed files with 8 additions and 2 deletions
3
changelogs/fragments/581_ci_selinux.yml
Normal file
3
changelogs/fragments/581_ci_selinux.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
trivial:
|
||||
- selinux - conditions for selinux integration tests have been modified to be more accurate.
|
||||
3
changelogs/fragments/firewalld_breaking_change.yml
Normal file
3
changelogs/fragments/firewalld_breaking_change.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
breaking_changes:
|
||||
- firewalld - ``icmp_block_inversion`` and ``masquerade`` will be changed to ``bool`` from ``str``. Please change playbooks accordingly (https://github.com/ansible-collections/ansible.posix/issues/235).
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue