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
7bc06d1e
Commit
7bc06d1e
authored
Jan 27, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
centos kernel
parent
3ec58578
Pipeline
#2209
failed with stage
in 7 minutes and 15 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
3 deletions
+25
-3
tasks/kernel/CentOS.yml
tasks/kernel/CentOS.yml
+22
-0
tasks/kernel/Debian.yml
tasks/kernel/Debian.yml
+0
-0
tasks/upgrade.yml
tasks/upgrade.yml
+3
-3
No files found.
tasks/kernel/CentOS.yml
0 → 100644
View file @
7bc06d1e
-
name
:
elrepo-release
become
:
true
yum
:
update_cache
:
yes
name
:
epel-release,elrepo-release
-
name
:
yum plugin
become
:
true
yum
:
update_cache
:
yes
name
:
yum-plugin-elrepo
-
name
:
install kernel
become
:
true
yum
:
update_cache
:
yes
state
:
latest
name
:
kernel-ml,kernel-ml-devel,kernel-ml-headers
enablerepo
:
elrepo-kernel
-
name
:
remove wireguard-dkms
become
:
true
yum
:
name
:
kmod-wireguard,wireguard-dkms
state
:
absent
tasks/
debian_kernel
.yml
→
tasks/
kernel/Debian
.yml
View file @
7bc06d1e
File moved
tasks/upgrade.yml
View file @
7bc06d1e
...
...
@@ -26,9 +26,9 @@
apt
:
name
:
nvidia-driver-{{ nvidia_driver_version }}
when
:
nvidia_driver_version
-
name
:
debian
kernel
include_tasks
:
debian_kernel.yml
when
:
ansible_distribution == 'Debian'
and ansible_virtualization_type != "docker"
-
name
:
upgrade
kernel
include_tasks
:
'
kernel/{{ansible_distribution}}.yml'
when
:
(ansible_distribution == 'Debian' or ansible_distribution == 'CentOS')
and ansible_virtualization_type != "docker"
-
name
:
系统源 重启
become
:
true
shell
:
reboot
...
...
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