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
374aa0ba
Commit
374aa0ba
authored
6 years ago
by
Chris Hines
Browse files
Options
Downloads
Plain Diff
Merge branch 'nvidia' into 'master'
Nvidia See merge request
!176
parents
23fdb9f7
684c0470
No related branches found
No related tags found
1 merge request
!176
Nvidia
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/gpu/tasks/main.yml
+8
-2
8 additions, 2 deletions
roles/gpu/tasks/main.yml
with
8 additions
and
2 deletions
roles/gpu/tasks/main.yml
+
8
−
2
View file @
374aa0ba
...
...
@@ -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
-
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
...
...
This diff is collapsed.
Click to expand it.
Chris Hines
@chines
mentioned in commit
cc5bd557
·
4 years ago
mentioned in commit
cc5bd557
mentioned in commit cc5bd557d3029299ae5ea8cc0dd4d29778842ae7
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