diff --git a/tasks/miner/drivers/amdgpu.yml b/tasks/miner/drivers/amdgpu.yml index 7ff810a..6baf376 100644 --- a/tasks/miner/drivers/amdgpu.yml +++ b/tasks/miner/drivers/amdgpu.yml @@ -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