From 7536732f30bbe78e308d58eaffd673bc60dd749e Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 12 May 2021 14:55:57 -0400 Subject: [PATCH] Remove GRUB config from base role This is not actually ideal. --- roles/base/tasks/main.yml | 8 -------- roles/base/templates/etc/default/grub.j2 | 10 ---------- 2 files changed, 18 deletions(-) delete mode 100644 roles/base/templates/etc/default/grub.j2 diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 13d651e..acc16a5 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -527,14 +527,6 @@ mode: 0755 tags: base-backups -- name: install GRUB configuration - template: - src: etc/default/grub.j2 - dest: /etc/default/grub - notify: - - update grub - tags: base-grub - - name: install IPMI network interfaces fragment template: src: etc/network/interfaces.d/ipmi.j2 diff --git a/roles/base/templates/etc/default/grub.j2 b/roles/base/templates/etc/default/grub.j2 deleted file mode 100644 index a5315dd..0000000 --- a/roles/base/templates/etc/default/grub.j2 +++ /dev/null @@ -1,10 +0,0 @@ -# GRUB configuration -# {{ ansible_managed }} -GRUB_DEFAULT=0 -GRUB_TIMEOUT=5 -GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` -GRUB_CMDLINE_LINUX_DEFAULT="{{ grub_cmdline_default }}" -GRUB_CMDLINE_LINUX="" -GRUB_TERMINAL_INPUT="console serial" -GRUB_TERMINAL_OUTPUT="gfxterm serial" -GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"