Skip to content

Commit

Permalink
updated uuid discovery allowing for default e2
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Oct 23, 2024
1 parent 288d6d8 commit a1c1a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
- always

- name: "PRELIM | Find boot partition UUID"
ansible.builtin.shell: if [ -d /sys/firmware/efi ]; then lsblk -l -o +UUID | grep -i efi | awk '{print $NF}'; else lsblk -l -o +UUID | grep -w '/boot' | awk '{print $NF}'; fi
ansible.builtin.shell: if [ -d /sys/firmware/efi ]; then lsblk -l -o +UUID | grep -i efi | awk '{print $NF}'; else lsblk -l -o +UUID | grep -w '/boot' | grep -v efi | awk '{print $NF}'; fi
changed_when: false
check_mode: false
register: prelim_rhel8stig_boot_uuid
Expand Down

0 comments on commit a1c1a10

Please sign in to comment.