generated from nicolabelluti/template-ansible
Added users role to manage the playbook as root and remove admin privileges from deck
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# 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
|
||||
@@ -8,13 +7,11 @@
|
||||
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