Skip to content

Commit

Permalink
Merge pull request #43 from layluke/Issure-42-RHEL-09-232190-fails-wi…
Browse files Browse the repository at this point in the history
…th-undefined-variable

Added loop control for RHEL-09-232190
  • Loading branch information
uk-bolly authored Sep 30, 2024
2 parents 864c3c2 + 96742b2 commit 2439b01
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tasks/Cat2/RHEL-09-23xxxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1538,9 +1538,10 @@
when: rhel9stig_sys_commands_owner.stdout | length > 0
ansible.builtin.file:
owner: root
path: "{{ path }}"
loop:
- "{{ rhel9stig_sys_commands_owner.stdout_lines }}"
path: "{{ item }}"
loop: "{{ rhel9stig_sys_commands_owner.stdout_lines }}"
loop_control:
label: "{{ item }}"

- name: "MEDIUM | RHEL-09-232195 | PATCH | RHEL 9 system commands must be group-owned by root or a system account."
when:
Expand Down

0 comments on commit 2439b01

Please sign in to comment.