generated from nicolabelluti/template-ansible
Added 40cu role
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# The custom `linux-cachyos-bc250` brings in the 40CU patch
|
||||
- name: Enable the 40 CU unlock
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
content: "options amdgpu bc250_cc_write_mode=3\n"
|
||||
dest: /etc/modprobe.d/bc250-40cu.conf
|
||||
mode: '0644'
|
||||
register: cu40_conf
|
||||
|
||||
- name: Rebuild initramfs
|
||||
become: true
|
||||
ansible.builtin.command: limine-mkinitcpio
|
||||
when: cu40_conf.changed
|
||||
changed_when: true
|
||||
|
||||
- name: Reboot to reinitialise amdgpu
|
||||
become: true
|
||||
ansible.builtin.reboot:
|
||||
reboot_timeout: 600
|
||||
when: cu40_conf.changed
|
||||
Reference in New Issue
Block a user