Skip to content

Commit

Permalink
updated tag for boot_part
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
  • Loading branch information
uk-bolly committed Oct 23, 2024
1 parent 069ecdf commit 288d6d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@
changed_when: false
check_mode: false
register: prelim_rhel8stig_boot_part
tags:
- 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
Expand Down

0 comments on commit 288d6d8

Please sign in to comment.