4
0
Fork 0

updated grub controls

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-04-11 17:38:01 +01:00
parent 9c519482a8
commit 08e48fbe83
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB
3 changed files with 2 additions and 38 deletions

View file

@ -25,7 +25,7 @@
block:
- name: "1.4.2 | PATCH | Ensure permissions on bootloader config are configured"
file:
path: "{{ grub_cfg.stat.lnk_source }}"
path: /boot/grub2/grub.cfg
owner: root
group: root
mode: 0600
@ -47,8 +47,6 @@
- item.mount == "/boot/efi"
when:
- rhel9cis_rule_1_4_2
- grub_cfg.stat.exists
- grub_cfg.stat.islnk
tags:
- level1-server
- level1-workstation