Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL-09-251040: Resolve iteration issue #6

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tasks/Cat2/RHEL-09-21xxxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@
- name: "MEDIUM | RHEL-09-213115 | PATCH | The kdump service on RHEL 9 must be disabled."
when:
- rhel_09_213115
- "'kdump' is in ansible_facts.packages"
tags:
- RHEL-09-213115
- CAT2
Expand Down
8 changes: 5 additions & 3 deletions tasks/Cat2/RHEL-09-25xxxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,18 @@
- name: "MEDIUM | RHEL-09-251040 | PATCH | RHEL 9 network interfaces must not be in promiscuous mode."
when:
- not rhel9stig_disruption_high
- item not in rhel9stig_promisc_if
- item in rhel9stig_promisc_if
ansible.builtin.debug:
msg: "Warning!! You have interfaces set to promicious mode no in the exception list"
loop: "{{ ansible_facts.interfaces }}"

- name: "MEDIUM | RHEL-09-251040 | PATCH | RHEL 9 network interfaces must not be in promiscuous mode."
when:
- not rhel9stig_disruption_high
- item not in rhel9stig_promisc_if
ansible.builtin.import_tasks:
- item in rhel9stig_promisc_if
ansible.builtin.include_tasks:
file: warning_facts.yml
loop: "{{ ansible_facts.interfaces }}"

- name: "MEDIUM | RHEL-09-251045 | PATCH | RHEL 9 must enable hardening for the Berkeley Packet Filter just-in-time compiler."
when:
Expand Down
Loading