aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/kernel/defaults/main.yaml
blob: 6581eaf1b2b6f6f597de7dd977df4b253285f391 (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
29
30
31
---
# file: defaults/main.yaml

# Kernel version to install (Default to any version).
kernel_version: "{{ kernel_version_by_distro[ansible_distribution|lower][ansible_distribution_release] | join(' ') }}"

kernel_version_by_distro:
  ubuntu:
    jammy:
      - "5.15.0-46"
    noble:
      - "6.8.0-45"

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"