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

Oracle Linux rhel8stig_bootloader_path and RHEL-08-020030 fix #252

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
2 changes: 1 addition & 1 deletion tasks/fix-cat2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3260,7 +3260,7 @@
- name: "MEDIUM | RHEL-08-020030 | PATCH | RHEL 8 must enable a user session lock until that user re-establishes access using established identification and authentication procedures for graphical user sessions."
block:
- name: "MEDIUM | RHEL-08-020030 | AUDIT | RHEL 8 must enable a user session lock until that user re-establishes access using established identification and authentication procedures for graphical user sessions. | Check for lock-enabled"
ansible.builtin.shell: "grep lock-enabled /etc/dconf/db/* -r | cut -f1 -d:"
ansible.builtin.shell: "grep lock-enabled /etc/dconf/db/* -rI | sort -u | tail -n 1 | cut -f1 -d:"
changed_when: false
failed_when: false
register: rhel_08_020030_lock_enabled
Expand Down
2 changes: 1 addition & 1 deletion tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
rhel8stig_legacy_boot: false
when:
- rhel8_efi_boot.stat.exists
- ansible_distribution == 'Oracle Linux'
- ansible_distribution == 'OracleLinux'

- name: "PRELIM | set if not UEFI boot"
ansible.builtin.set_fact:
Expand Down