Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
init
Commits
b2e84a04
Commit
b2e84a04
authored
Jan 28, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fk nvidia installed gnome for me
parent
0a4c1702
Pipeline
#2226
passed with stage
in 5 minutes and 54 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
tasks/nvidia.yml
tasks/nvidia.yml
+1
-0
tasks/upgrade.yml
tasks/upgrade.yml
+1
-0
No files found.
tasks/nvidia.yml
View file @
b2e84a04
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
apt
:
apt
:
update_cache
:
true
update_cache
:
true
name
:
'
git,nvidia-driver-{{
nvidia_driver_version
}},nvidia-cuda-dev,nvidia-cuda-doc,nvidia-cuda-gdb,nvidia-cuda-toolkit,nvidia-cuda-toolkit-gcc,nvidia-container-runtime,libnvidia-encode-{{
nvidia_driver_version
}},libnvidia-decode-{{
nvidia_driver_version
}},libnvidia-fbc1-{{
nvidia_driver_version
}}'
name
:
'
git,nvidia-driver-{{
nvidia_driver_version
}},nvidia-cuda-dev,nvidia-cuda-doc,nvidia-cuda-gdb,nvidia-cuda-toolkit,nvidia-cuda-toolkit-gcc,nvidia-container-runtime,libnvidia-encode-{{
nvidia_driver_version
}},libnvidia-decode-{{
nvidia_driver_version
}},libnvidia-fbc1-{{
nvidia_driver_version
}}'
install_recommends
:
false
-
name
:
check detailed driver version
-
name
:
check detailed driver version
changed_when
:
false
changed_when
:
false
shell
:
nvidia-smi --query-gpu=driver_version --format=csv,noheader,nounits
shell
:
nvidia-smi --query-gpu=driver_version --format=csv,noheader,nounits
...
...
tasks/upgrade.yml
View file @
b2e84a04
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
become
:
true
become
:
true
apt
:
apt
:
name
:
nvidia-driver-{{ nvidia_driver_version }}
name
:
nvidia-driver-{{ nvidia_driver_version }}
install_recommends
:
false
when
:
nvidia_driver_version | bool
when
:
nvidia_driver_version | bool
-
name
:
upgrade kernel
-
name
:
upgrade kernel
include_tasks
:
'
kernel/{{ansible_distribution}}.yml'
include_tasks
:
'
kernel/{{ansible_distribution}}.yml'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment