mirror of
https://github.com/ansible/ansible.git
synced 2026-02-03 20:40:24 -05:00
Restore xt_comment tests (#86393)
This commit is contained in:
parent
3df8aeed80
commit
e223fbd5f6
2 changed files with 3 additions and 6 deletions
|
|
@ -52,8 +52,7 @@
|
|||
source: 0.0.0.0
|
||||
destination: 0.0.0.0
|
||||
jump: DROP
|
||||
# FIXME: Enable when xt_comment is working on RHEL 10
|
||||
#comment: "FOOBAR-CHAIN RULE"
|
||||
comment: "FOOBAR-CHAIN RULE"
|
||||
|
||||
- name: get the state of the iptable rules after rule is added to foobar chain
|
||||
become: true
|
||||
|
|
@ -64,8 +63,7 @@
|
|||
assert:
|
||||
that:
|
||||
- result is not failed
|
||||
# FIXME: Enable when xt_comment is working on RHEL 10
|
||||
# - '"FOOBAR-CHAIN RULE" in result.stdout'
|
||||
- '"FOOBAR-CHAIN RULE" in result.stdout'
|
||||
|
||||
- name: flush the foobar chain
|
||||
become: true
|
||||
|
|
|
|||
|
|
@ -35,6 +35,5 @@
|
|||
# prevent attempts to upgrade the kernel and install kernel modules for a non-running kernel version
|
||||
exclude: "{{ 'kernel-core' if ansible_distribution == 'RedHat' else omit }}"
|
||||
|
||||
# FIXME: Disabling this test for now as it is not working on RHEL 10
|
||||
# - import_tasks: xt_comment.yml
|
||||
- import_tasks: xt_comment.yml
|
||||
- import_tasks: chain_management.yml
|
||||
|
|
|
|||
Loading…
Reference in a new issue