Explicitly blacklist nouveau when installing from CUDA repos
This should avoid failures encountered in some RHEL 8 tests
This commit is contained in:
parent
c7aaa2e77f
commit
30fdeb781e
@ -44,7 +44,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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user