Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
Lu Xu
slapos.package
Commits
106da60e
Commit
106da60e
authored
Nov 13, 2020
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Plain Diff
playbook: debian{9,10}: Track distro kernel updates
See merge request
nexedi/slapos.package!133
parents
3d0c4765
177c353e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
playbook/roles/vifib-kernel/tasks/main.yml
playbook/roles/vifib-kernel/tasks/main.yml
+11
-7
No files found.
playbook/roles/vifib-kernel/tasks/main.yml
View file @
106da60e
---
-
name
:
Install Debian stable-proposed-updates repository
apt_repository
:
repo='deb http://deb.debian.org/debian/ oldstable-proposed-updates main' state=present update_cache=yes
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
-
name
:
Install kernel 4.9 on debian
9.0
apt
:
name=linux-image-4.9.0-13-amd64 state=latest default_release=oldstable-proposed-updates update_cache=no
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
# Debian 9/10: install latest kernel stable updates provided by the distribution.
# - good for security
# - needed to keep in sync, with nxd-fuse-dkms which through dkms installs
# latest linux-headers-amd64. If those headers won't match installed
# kernel, nxd-fuse will be skipped to compile, fail to load and FUSE won't
# be working at all:
# https://lab.nexedi.com/nexedi/slapos.package/merge_requests/132#note_120438
-
name
:
Debian 9/10 - Install latest stable updates for distribution kernel
apt
:
name=linux-image-amd64 state=latest update_cache=yes
when
:
ansible_distribution == "Debian" and
(ansible_distribution_major_version == "9" or ansible_distribution_major_version == "10")
notify
:
[
'
Mark
to
reboot'
]
-
name
:
Install Debian jessie-backports repository
...
...
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