Skip to content

Commit

Permalink
deploy: reading grub.cfg requires privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzel committed Aug 26, 2024
1 parent 1b9a5b8 commit 5c3f5ff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
awk -F\' '/menuentry.*{{ kernel_grep_string }}/ {print $4}' /boot/grub/grub.cfg |head -1
args:
executable: /bin/bash
become: true
register: grub_menuentry_ids
when: true
check_mode: false
Expand Down

0 comments on commit 5c3f5ff

Please sign in to comment.