serial-console: grub2-editenv list doesn't get us boot args

grub2-editenv list  doesn't get us the boot args, so instead just grep
for them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-12-09 17:50:23 -08:00
parent ccb3e81b62
commit 73cfa04822

View file

@ -3,7 +3,7 @@
#
---
- name: check for grub serial setup
command: grub2-editenv list
command: grep options /boot/loader/entries/*
register: serial
check_mode: no
changed_when: '1 != 1'