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
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
babddab5
Commit
babddab5
authored
Nov 19, 2020
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Plain Diff
playbook: debian{9,10}: Install/upgrade linux-headers as well
See merge request
nexedi/slapos.package!135
parents
00e33f9b
4e345bcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
playbook/roles/vifib-kernel/tasks/main.yml
playbook/roles/vifib-kernel/tasks/main.yml
+11
-1
No files found.
playbook/roles/vifib-kernel/tasks/main.yml
View file @
babddab5
...
...
@@ -7,8 +7,18 @@
# 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
#
# NOTE we have to explicitly install/upgrade kernel headers here as well
# because once they are installed via nxd-fuse-dkms -> dkms -> linux-headers-amd64,
# they won't be upgraded, and if linux-image-amd64 gets upgraded, but headers are
# not, nxd-fuse-dkms will be skipped to recompile for upgraded kernel.
-
name
:
Debian 9/10 - Install latest stable updates for distribution kernel
apt
:
name=linux-image-amd64 state=latest update_cache=yes
apt
:
name
:
-
linux-image-amd64
-
linux-headers-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'
]
...
...
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