Better way to handle the serial console
This commit is contained in:
7
roles/grub/tasks/Debian.yaml
Normal file
7
roles/grub/tasks/Debian.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: enable serial console
|
||||
lineinfile:
|
||||
path: "{{ grub_defaults_path }}"
|
||||
regexp: '^GRUB_CMDLINE_LINUX='
|
||||
line: GRUB_CMDLINE_LINUX="{{ grub_cmdline_linux }}"
|
||||
notify: grub-mkconfig
|
||||
Reference in New Issue
Block a user