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
4d538b52
Commit
4d538b52
authored
Apr 22, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ubuntu 22
parent
e83b9062
Pipeline
#12006
failed with stage
in 1 minute and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
tasks/nvidia.yml
tasks/nvidia.yml
+10
-5
tasks/utility.yml
tasks/utility.yml
+2
-2
No files found.
tasks/nvidia.yml
View file @
4d538b52
...
...
@@ -45,14 +45,19 @@
find
:
paths
:
-
/usr/lib/x86_64-linux-gnu
patterns
:
'
libcudnn.so.
7.6.5
'
patterns
:
'
libcudnn.so.
8.4.0
'
register
:
cudnn_result
-
name
:
purge cudnn7
become
:
true
apt
:
name
:
libcudnn7,libcudnn7-dev,libcudnn7-doc
state
:
absent
-
name
:
install cudnn
become
:
true
apt
:
deb
:
'
https://cdn02.moecube.com:444/init/cudnn/{{item}}'
with_items
:
-
libcudnn8_
7.6.5.32-1+cuda10.1
_amd64.deb
-
libcudnn8-dev_
7.6.5.32-1+cuda10.1
_amd64.deb
-
libcudnn8-samples_
7.6.5.32-1+cuda10.1
_amd64.deb
when
:
not cudnn_result.files[0] is defined and ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >=
18
-
libcudnn8_
8.4.0.27-1+cuda11.6
_amd64.deb
-
libcudnn8-dev_
8.4.0.27-1+cuda11.6
_amd64.deb
-
libcudnn8-samples_
8.4.0.27-1+cuda11.6
_amd64.deb
when
:
not cudnn_result.files[0] is defined and ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >=
20
tasks/utility.yml
View file @
4d538b52
...
...
@@ -76,9 +76,9 @@
set_fact
:
target_distribution
:
'
{{
ansible_distribution_release
}}'
when
:
not upgrade or ansible_distribution_release == 'sid'
-
name
:
move to
focal
-
name
:
move to
jammy
set_fact
:
target_distribution
:
'
focal
'
target_distribution
:
'
jammy
'
when
:
ansible_distribution == 'Ubuntu' and upgrade
-
name
:
move to bullseye
set_fact
:
...
...
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