serial-console: switch to shell since we are using wildcards

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-12-09 18:14:17 -08:00
parent 687314e1c1
commit 3bb1fbe254

View file

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