Remove grub

New systems will use `systemd-boot`, as it's simpler
This commit is contained in:
Jake Howard 2023-01-07 18:31:49 +00:00
parent 79395ac589
commit 7fa979c320
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,13 +1,3 @@
- name: Install Grub
kewlfft.aur.aur:
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- grub-customizer
- grub2-theme-archlinux
- os-prober
- name: Install LightDM - name: Install LightDM
kewlfft.aur.aur: kewlfft.aur.aur:
name: "{{ item }}" name: "{{ item }}"
@ -89,13 +79,6 @@
- plymouth - plymouth
- plymouth-theme-ibm-git - plymouth-theme-ibm-git
- name: Set kernel parameters
lineinfile:
path: /etc/default/grub
regexp: ^GRUB_CMDLINE_LINUX_DEFAULT=
line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3 rd.udev.log_priority=3 vt.global_cursor_default=0"
register: kernel_parameters
- name: Install plymouth config - name: Install plymouth config
copy: copy:
src: ./files/plymouth.conf src: ./files/plymouth.conf
@ -114,10 +97,6 @@
command: mkinitcpio -P command: mkinitcpio -P
when: plymouth_config.changed or initrd_hooks.changed when: plymouth_config.changed or initrd_hooks.changed
- name: Rebuild GRUB config
command: grub-mkconfig -o /boot/grub/grub.cfg
when: kernel_parameters.changed
- name: Enable lightdm - name: Enable lightdm
systemd: systemd:
name: lightdm name: lightdm