Skip to content
Snippets Groups Projects
Commit 684c0470 authored by Gin Tan (Monash University)'s avatar Gin Tan (Monash University)
Browse files

Restore nvidia installation

parent 02e2a3f3
No related branches found
No related tags found
1 merge request!176Nvidia
......@@ -102,6 +102,12 @@
become_user: root
when: uninstall_driver
- name: get nvidia driver
get_url: url=http://consistency0/src/NVIDIA-Linux-x86_64-{{ nvidia_version }}.run dest=/tmp/NVIDIA-Linux-x86_64-{{ nvidia_version }}.run
become: true
become_user: root
when: install_driver
#- name: Copy boot file
# template: src=grub.conf.j2 dest=/boot/grub/grub.conf
# sudo: true
......@@ -114,8 +120,8 @@
template: src=xserver.j2 dest=/etc/pam.d/xserver
sudo: true
- name: Install driver with yum
shell: yum -y install cuda-drivers xorg-x11-drv-nvidia
- name: build nvidia driver
shell: chmod 755 /tmp/NVIDIA-Linux-x86_64-{{ nvidia_version }}.run; /tmp/NVIDIA-Linux-x86_64-{{ nvidia_version }}.run --silent
sudo: true
when: install_driver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment