NVIDIA / ansible-role-nvidia-driver

BSD 3-Clause "New" or "Revised" License
117 stars 67 forks source link

please blacklist nouveau driver #44

Open pescobar opened 3 years ago

pescobar commented 3 years ago

is there any reason why this role doesn't include a task like this?

- name: Blacklist the nouveau driver module                                                                                                                                                                                            
  community.general.kernel_blacklist:                                                                                                                                                                                                  
    name: nouveau                                                                                                                                                                                                                      
    state: present 
TidyData commented 2 years ago

seems ansible has this built in already

    - name: Blacklist the nouveau driver module
      become: yes
      kernel_blacklist:
        name: nouveau
        state: present