summaryrefslogtreecommitdiff
path: root/roles/vm/grub/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/vm/grub/tasks/main.yml')
-rw-r--r--roles/vm/grub/tasks/main.yml17
1 files changed, 0 insertions, 17 deletions
diff --git a/roles/vm/grub/tasks/main.yml b/roles/vm/grub/tasks/main.yml
deleted file mode 100644
index e663e808..00000000
--- a/roles/vm/grub/tasks/main.yml
+++ /dev/null
@@ -1,17 +0,0 @@
----
-- name: enable serial console in grub and for kernel
- vars:
- grub_options:
- GRUB_TIMEOUT: 2
- GRUB_CMDLINE_LINUX: '"console=ttyS0,115200n8"'
- GRUB_TERMINAL: serial
- GRUB_SERIAL_COMMAND: >-
- "serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"
- loop: "{{ grub_options | dict2items }}"
- loop_control:
- label: "{{ item.key }}"
- lineinfile:
- dest: /etc/default/grub
- regexp: "^{{ item.key }}="
- line: "{{ item.key }}={{ item.value }}"
- notify: update grub