blob: d84a16348728c287df28d6807ade46c59db03653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
---
# file: roles/kernel/defaults/main.yaml
# Kernel version to install (Default to any version).
kernel_version: "{{ kernel_version_by_distro[ansible_distribution | lower] | join(' ') }}"
kernel_version_by_distro:
ubuntu:
- "4.15.0-72"
kernel_packages: "{{ kernel_packages_by_distro[ansible_distribution | lower] | flatten(levels=1) }}"
kernel_packages_by_distro:
ubuntu:
- "linux-image"
- "linux-headers"
- "linux-modules"
- "linux-modules-extra"
- "linux-tools"
# Packages to remove in relation to kernel upgrade.
absent_packages: "{{ absent_packages_by_distro[ansible_distribution | lower] | flatten(levels=1) }}"
absent_packages_by_distro:
ubuntu:
- "amd64-microcode"
- "intel-microcode"
- "iucode-tool"
|