Add update-grub.

This commit is contained in:
Hyperling 2021-02-13 07:28:45 -06:00
parent 008963e87f
commit 293e0d8b45

View File

@ -66,7 +66,7 @@
state: present
when: amdgpu_install.failed and hwe_kernel.stdout != "0" and ga_kernel.failed
- name: AMDGPU | Prepare To Boot GA Kernel
- name: AMDGPU | Prepare GRUB To Boot GA Kernel
lineinfile:
path: /etc/default/grub
regexp: '^GRUB_DEFAULT='
@ -75,6 +75,10 @@
backup: yes
when: amdgpu_install.failed and hwe_kernel.stdout != "0" and ga_kernel.failed
- name: AMDGPU | Update GRUB
shell: update-grub
when: amdgpu_install.failed and hwe_kernel.stdout != "0" and ga_kernel.failed
- name: AMDGPU | Prepare Cron Job To SCM
cron:
user: root
@ -120,6 +124,10 @@
backup: yes
when: amdgpu_install.failed and hwe_kernel.stdout != "0"
- name: AMDGPU | Update GRUB
shell: update-grub
when: amdgpu_install.failed and hwe_kernel.stdout != "0"
- name: AMDGPU | Prepare Cron Job To SCM
cron:
user: root