mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
lint update
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
1bfde74ad6
commit
a1a719fbe7
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@
|
||||||
- name: "1.4.2 | PATCH | Ensure permissions on bootloader config are configured | efi based system"
|
- name: "1.4.2 | PATCH | Ensure permissions on bootloader config are configured | efi based system"
|
||||||
when: not rhel9cis_legacy_boot
|
when: not rhel9cis_legacy_boot
|
||||||
vars:
|
vars:
|
||||||
efi_mount_options: ['umask=0077','fmask=0077','uid=0','gid=0']
|
efi_mount_options: ['umask=0077', 'fmask=0077', 'uid=0', 'gid=0']
|
||||||
block:
|
block:
|
||||||
- name: "1.4.2 | AUDIT | Ensure permissions on bootloader config are configured | efi based system | capture current state"
|
- name: "1.4.2 | AUDIT | Ensure permissions on bootloader config are configured | efi based system | capture current state"
|
||||||
ansible.builtin.shell: grep "^[^#;]" /etc/fstab | grep '/boot/efi' | awk -F" " '{print $4}'
|
ansible.builtin.shell: grep "^[^#;]" /etc/fstab | grep '/boot/efi' | awk -F" " '{print $4}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue