forked from ansible-lockdown/RHEL9-CIS
Merge pull request #391 from polski-g/check_mode_1_4_2
1.4.2: grep command should run in check_mode
This commit is contained in:
commit
374b9a5dc0
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@
|
|||
- 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}'
|
||||
changed_when: false
|
||||
check_mode: false
|
||||
register: discovered_efi_fstab
|
||||
|
||||
- name: "1.4.2 | PATCH | Ensure permissions on bootloader config are configured | efi based system | Build Options"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue