Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
b8afca88
Commit
b8afca88
authored
7 years ago
by
Gin Tan (Monash University)
Browse files
Options
Downloads
Patches
Plain Diff
Use yum to install nvidia driver
parent
5175eccb
No related branches found
No related tags found
1 merge request
!165
Nvidia
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/gpu/tasks/main.yml
+2
-8
2 additions, 8 deletions
roles/gpu/tasks/main.yml
with
2 additions
and
8 deletions
roles/gpu/tasks/main.yml
+
2
−
8
View file @
b8afca88
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
ca9128c4
·
4 years ago
mentioned in commit
ca9128c4
mentioned in commit ca9128c4f3e471b98169a57ac06d40bfcf7c17a2
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment