Skip to content

Commit 0bdb4b5

Browse files
committed
Fix Rocky minor version strict typing
(cherry picked from commit 357c170)
1 parent abe0c16 commit 0bdb4b5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

etc/kayobe/ansible/install-doca.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
vars:
77
# we don't build kernel modules for each version, eg 5.14.0-611.13.1 has been built,
88
# but not 5.14.0-611.20.1
9-
doca_kernel_version: "{{ stackhpc_doca_kernel_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version] }}"
9+
doca_kernel_version: "{{ stackhpc_doca_kernel_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version | string] }}"
1010
tasks:
1111
- name: Install kernel repo
1212
ansible.builtin.dnf:

etc/kayobe/ansible/rocky-97-ofed-upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
vars:
1818
# we don't build kernel modules for each version, eg 5.14.0-611.13.1 has been built,
1919
# but not 5.14.0-611.20.1.
20-
doca_kernel_version: "{{ stackhpc_doca_kernel_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version] }}"
20+
doca_kernel_version: "{{ stackhpc_doca_kernel_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version | string] }}"
2121
tasks:
2222
- name: Assert that hosts are running Rocky Linux 9.6
2323
ansible.builtin.assert:

etc/kayobe/ofed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
stackhpc_pulp_doca_version_matrix:
77
"6": 2.9.3
88
"7": 3.2.1
9-
stackhpc_pulp_doca_version: "{{ stackhpc_pulp_doca_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version] | default('2.9.1') }}"
9+
stackhpc_pulp_doca_version: "{{ stackhpc_pulp_doca_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version | string] | default('2.9.1') }}"
1010

1111
# Available and tested versions of the pre-compiled doca-ofed kernel modules
1212
stackhpc_doca_kernel_version_matrix:

0 commit comments

Comments
 (0)