aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles
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
parent01576b87bb54c82d76b55496aeca97e2921957fd (diff)
infra(ansible): Jammy placeholder
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I693841cadf33d23e417374b949771ba7c3dbccd2
Diffstat (limited to 'fdio.infra.ansible/roles')
-rw-r--r--fdio.infra.ansible/roles/ab/defaults/main.yaml6
-rw-r--r--fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml (renamed from fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml)4
-rw-r--r--fdio.infra.ansible/roles/calibration/defaults/main.yaml18
-rw-r--r--fdio.infra.ansible/roles/common/defaults/main.yaml30
-rw-r--r--fdio.infra.ansible/roles/docker/tasks/ubuntu_jammy.yaml (renamed from fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml)2
-rw-r--r--fdio.infra.ansible/roles/dpdk/defaults/main.yaml4
-rw-r--r--fdio.infra.ansible/roles/dpdk/meta/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/iperf/defaults/main.yaml4
-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
-rw-r--r--fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_jammy.yaml (renamed from fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml)2
-rw-r--r--fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml4
-rw-r--r--fdio.infra.ansible/roles/python_env/defaults/main.yaml11
-rw-r--r--fdio.infra.ansible/roles/trex/defaults/main.yaml4
-rw-r--r--fdio.infra.ansible/roles/vpp/defaults/main.yaml12
15 files changed, 55 insertions, 62 deletions
diff --git a/fdio.infra.ansible/roles/ab/defaults/main.yaml b/fdio.infra.ansible/roles/ab/defaults/main.yaml
index 45b80be42d..6e9dfbcfce 100644
--- a/fdio.infra.ansible/roles/ab/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/ab/defaults/main.yaml
@@ -1,5 +1,5 @@
---
-# file: roles/wrk/defaults/main.yaml
+# file: roles/ab/defaults/main.yaml
packages: "{{ packages_base + packages_by_distro[ansible_distribution|lower][ansible_distribution_release] + packages_by_arch[ansible_machine] }}"
@@ -8,10 +8,10 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
- - "apache2-utils"
focal:
- "apache2-utils"
+ jammy:
+ - "apache2-utils"
packages_by_arch:
aarch64:
diff --git a/fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml
index 4108a98720..4ee1545baf 100644
--- a/fdio.infra.ansible/roles/aws/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml
@@ -1,9 +1,9 @@
---
-# file: roles/aws/tasks/ubuntu_bionic.yaml.yaml
+# file: roles/aws/tasks/ubuntu_jammy.yaml.yaml
- name: Enable deb-src APT Repository
apt_repository:
- repo: "deb-src http://archive.ubuntu.com/ubuntu bionic main"
+ repo: "deb-src http://archive.ubuntu.com/ubuntu jammy main"
state: "present"
update_cache: true
tags:
diff --git a/fdio.infra.ansible/roles/calibration/defaults/main.yaml b/fdio.infra.ansible/roles/calibration/defaults/main.yaml
index 020c0119b1..bb904622e4 100644
--- a/fdio.infra.ansible/roles/calibration/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/calibration/defaults/main.yaml
@@ -9,10 +9,10 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
+ focal:
- "build-essential"
- "dmidecode"
- focal:
+ jammy:
- "build-essential"
- "dmidecode"
@@ -27,13 +27,6 @@ kernel_version: "{{ kernel_version_by_distro_by_arch[ansible_distribution | lowe
kernel_version_by_distro_by_arch:
ubuntu:
- bionic:
- x86_64:
- - "4.15.0-72-generic"
- - "5.3.0-1020-azure"
- - "4.15.0-1057-aws"
- aarch64:
- - "4.15.0-54-generic"
focal:
x86_64:
- "5.4.0-65-generic"
@@ -41,6 +34,13 @@ kernel_version_by_distro_by_arch:
- "5.4.0-1035-aws"
aarch64:
- "5.4.0-65-generic"
+ jammy:
+ x86_64:
+ - "5.15.0-0-generic" # Placeholder
+ - "5.3.0-1020-azure" # Placeholder
+ - "5.15.0-1000-aws" # Placeholder
+ aarch64:
+ - "5.15.0-0-generic" # Placeholder
pma_directory: "/tmp/pma_tools"
jitter_core: 7
diff --git a/fdio.infra.ansible/roles/common/defaults/main.yaml b/fdio.infra.ansible/roles/common/defaults/main.yaml
index ba7129711a..5c94f58398 100644
--- a/fdio.infra.ansible/roles/common/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/common/defaults/main.yaml
@@ -18,37 +18,37 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
+ focal:
+ - "bpfcc-tools"
- "build-essential"
+ - "libbpfcc"
+ - "libbpfcc-dev"
+ - "libclang1-9"
+ - "libllvm9"
- "libpcap-dev"
- "net-tools"
- - "python-all"
- - "python-apt"
- - "python-cffi"
- - "python-cffi-backend"
- - "python-dev"
- - "python-pip"
- - "python-setuptools"
- "python3-all"
- "python3-apt"
+ - "python3-bpfcc"
- "python3-cffi"
- "python3-cffi-backend"
- "python3-dev"
- "python3-pip"
- "python3-pyelftools"
- "python3-setuptools"
- focal:
- - "bpfcc-tools"
+ jammy:
- "build-essential"
- - "libbpfcc"
- - "libbpfcc-dev"
- - "libclang1-9"
- - "libllvm9"
- "libpcap-dev"
- "net-tools"
+ - "python-all"
+ - "python-apt"
+ - "python-cffi"
+ - "python-cffi-backend"
+ - "python-dev"
+ - "python-pip"
+ - "python-setuptools"
- "python3-all"
- "python3-apt"
- - "python3-bpfcc"
- "python3-cffi"
- "python3-cffi-backend"
- "python3-dev"
diff --git a/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/docker/tasks/ubuntu_jammy.yaml
index 21f28e0c55..51f60ee348 100644
--- a/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/docker/tasks/ubuntu_jammy.yaml
@@ -1,5 +1,5 @@
---
-# file: roles/docker/tasks/ubuntu_bionic.yaml
+# file: roles/docker/tasks/ubuntu_jammy.yaml
- name: Inst - Dependencies
apt:
diff --git a/fdio.infra.ansible/roles/dpdk/defaults/main.yaml b/fdio.infra.ansible/roles/dpdk/defaults/main.yaml
index 79580cbf6d..b9602bc2d2 100644
--- a/fdio.infra.ansible/roles/dpdk/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/dpdk/defaults/main.yaml
@@ -8,10 +8,10 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
+ focal:
- "build-essential"
- "libnuma-dev"
- focal:
+ jammy:
- "build-essential"
- "libnuma-dev"
diff --git a/fdio.infra.ansible/roles/dpdk/meta/main.yaml b/fdio.infra.ansible/roles/dpdk/meta/main.yaml
index cc3bf5f731..e52ecb87c1 100644
--- a/fdio.infra.ansible/roles/dpdk/meta/main.yaml
+++ b/fdio.infra.ansible/roles/dpdk/meta/main.yaml
@@ -18,7 +18,7 @@ galaxy_info:
platforms:
- name: Ubuntu
versions:
- - bionic
- focal
+ - jammy
galaxy_tags:
- dpdk
diff --git a/fdio.infra.ansible/roles/iperf/defaults/main.yaml b/fdio.infra.ansible/roles/iperf/defaults/main.yaml
index 07af60b63a..f014d83eed 100644
--- a/fdio.infra.ansible/roles/iperf/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/iperf/defaults/main.yaml
@@ -8,10 +8,10 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
+ focal:
- "build-essential"
- "lib32z1"
- focal:
+ jammy:
- "build-essential"
- "lib32z1"
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-*"
diff --git a/fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_jammy.yaml
index e2f2b86058..5e155257ce 100644
--- a/fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/kubernetes/tasks/ubuntu_jammy.yaml
@@ -1,5 +1,5 @@
---
-# file: roles/kubernetes/tasks/ubuntu_bionic.yaml
+# file: roles/kubernetes/tasks/ubuntu_jammy.yaml
- name: Kubernetes repository - Dependencies
apt:
diff --git a/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml b/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
index 128be4970b..d07a75d446 100644
--- a/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
@@ -8,10 +8,10 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
- - []
focal:
- []
+ jammy:
+ - []
packages_by_arch:
aarch64:
diff --git a/fdio.infra.ansible/roles/python_env/defaults/main.yaml b/fdio.infra.ansible/roles/python_env/defaults/main.yaml
index 36e599acfe..89e85d64fc 100644
--- a/fdio.infra.ansible/roles/python_env/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/python_env/defaults/main.yaml
@@ -8,14 +8,7 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
- - "python-all"
- - "python-apt"
- - "python-cffi"
- - "python-cffi-backend"
- - "python-dev"
- - "python-pip"
- - "python-setuptools"
+ focal:
- "python3-all"
- "python3-apt"
- "python3-cffi"
@@ -24,7 +17,7 @@ packages_by_distro:
- "python3-pip"
- "python3-pyelftools"
- "python3-setuptools"
- focal:
+ jammy:
- "python3-all"
- "python3-apt"
- "python3-cffi"
diff --git a/fdio.infra.ansible/roles/trex/defaults/main.yaml b/fdio.infra.ansible/roles/trex/defaults/main.yaml
index 181cb9da85..180d635def 100644
--- a/fdio.infra.ansible/roles/trex/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/trex/defaults/main.yaml
@@ -8,7 +8,7 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
+ focal:
- "build-essential"
- "libmnl-dev"
- "libnuma-dev"
@@ -19,7 +19,7 @@ packages_by_distro:
- "pciutils"
- "python3-pip"
- "zlib1g-dev"
- focal:
+ jammy:
- "build-essential"
- "libmnl-dev"
- "libnuma-dev"
diff --git a/fdio.infra.ansible/roles/vpp/defaults/main.yaml b/fdio.infra.ansible/roles/vpp/defaults/main.yaml
index 7fac499307..55051b8c8f 100644
--- a/fdio.infra.ansible/roles/vpp/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/vpp/defaults/main.yaml
@@ -12,19 +12,19 @@ packages_base:
packages_by_distro:
ubuntu:
- bionic:
+ focal:
- "build-essential"
- "libglib2.0-dev"
- - "libmbedcrypto1"
- - "libmbedtls10"
+ - "libmbedcrypto3"
+ - "libmbedtls12"
- "libmbedx509-0"
- "libnuma-dev"
- "libpixman-1-dev"
- focal:
+ jammy:
- "build-essential"
- "libglib2.0-dev"
- - "libmbedcrypto3"
- - "libmbedtls12"
+ - "libmbedcrypto1"
+ - "libmbedtls10"
- "libmbedx509-0"
- "libnuma-dev"
- "libpixman-1-dev"