1.4.2: grep command should run in check_mode

Signed-off-by: polski-g <polski_g@sent.at>
This commit is contained in:
polski-g 2025-09-03 09:55:00 -04:00
parent 39c7dfa187
commit 1c9c1b919c
No known key found for this signature in database
GPG key ID: C077F64D3FFD4D39

View file

@ -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"