Merge pull request #51 from ajdecon/rhel8-fix

Explicitly blacklist nouveau when installing from CUDA repos
This commit is contained in:
Adam DeConinck
2022-01-28 14:26:53 -07:00
committed by GitHub
2 changed files with 12 additions and 1 deletions

View File

@@ -45,7 +45,14 @@
when: nvidia_driver_add_repos | bool
- name: install dependencies
yum: name=dkms
yum:
name: dkms
state: present
- name: blacklist nouveau
kernel_blacklist:
name: nouveau
state: present
- name: add repo
yum_repository:

View File

@@ -20,6 +20,10 @@
environment: "{{proxy_env if proxy_env is defined else {}}}"
when: nvidia_driver_add_repos | bool
- name: blacklist nouveau
kernel_blacklist:
name: nouveau
state: present
- name: add repo
apt_repository: