aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/kernel
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-05-17 08:16:15 +0200
committerPeter Mikus <pmikus@cisco.com>2022-05-17 08:16:15 +0200
commit9feafea756fcdbd067fbc767ba16a8e3ecb6d6b2 (patch)
tree99c10d66dfbadfa326b66a67ebe9c055a103dc1e /fdio.infra.ansible/roles/kernel
parent01576b87bb54c82d76b55496aeca97e2921957fd (diff)
infra(ansible): Jammy placeholder
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I693841cadf33d23e417374b949771ba7c3dbccd2
Diffstat (limited to 'fdio.infra.ansible/roles/kernel')
-rw-r--r--fdio.infra.ansible/roles/kernel/defaults/main.yaml12
-rw-r--r--fdio.infra.ansible/roles/kernel/tasks/ubuntu_jammy.yaml (renamed from fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml)2
2 files changed, 7 insertions, 7 deletions
diff --git a/fdio.infra.ansible/roles/kernel/defaults/main.yaml b/fdio.infra.ansible/roles/kernel/defaults/main.yaml
index 92dc30f58b..60fa91e970 100644
--- a/fdio.infra.ansible/roles/kernel/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/kernel/defaults/main.yaml
@@ -6,22 +6,22 @@ kernel_version: "{{ kernel_version_by_distro[ansible_distribution|lower][ansible
kernel_version_by_distro:
ubuntu:
- bionic:
- - "4.15.0-72"
focal:
- "5.4.0-65"
+ jammy:
+ - "4.15.0-72"
kernel_packages: "{{ kernel_packages_by_distro[ansible_distribution|lower][ansible_distribution_release] | flatten(levels=1) }}"
kernel_packages_by_distro:
ubuntu:
- bionic:
+ focal:
- "linux-image"
- "linux-headers"
- "linux-modules"
- "linux-modules-extra"
- "linux-tools"
- focal:
+ jammy:
- "linux-image"
- "linux-headers"
- "linux-modules"
@@ -33,11 +33,11 @@ absent_packages: "{{ absent_packages_by_distro[ansible_distribution|lower][ansib
absent_packages_by_distro:
ubuntu:
- bionic:
+ focal:
- "amd64-microcode"
- "intel-microcode"
- "iucode-tool"
- focal:
+ jammy:
- "amd64-microcode"
- "intel-microcode"
- "iucode-tool"
diff --git a/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/kernel/tasks/ubuntu_jammy.yaml
index 871cc9eee7..15ce221e66 100644
--- a/fdio.infra.ansible/roles/kernel/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/kernel/tasks/ubuntu_jammy.yaml
@@ -1,5 +1,5 @@
---
-# file: roles/kernel/tasks/ubuntu_bionic.yaml
+# file: roles/kernel/tasks/ubuntu_jammy.yaml
- name: Get Available Kernel Versions
command: "apt-cache showpkg linux-headers-*"