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

Use yum to install nvidia driver

Former-commit-id: b8afca88
parent 2293101c
No related branches found
No related tags found
No related merge requests found
......@@ -102,12 +102,6 @@
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
......@@ -120,8 +114,8 @@
template: src=xserver.j2 dest=/etc/pam.d/xserver
sudo: true
- name: build nvidia driver
shell: chmod 755 /tmp/NVIDIA-Linux-x86_64-{{ nvidia_version }}.run; /tmp/NVIDIA-Linux-x86_64-{{ nvidia_version }}.run --silent
- name: install driver with yum
shell: yum -y install cuda-drivers
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