Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/install-doca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
vars:
# we don't build kernel modules for each version, eg 5.14.0-611.13.1 has been built,
# but not 5.14.0-611.20.1
doca_kernel_version: "{{ stackhpc_doca_kernel_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version] }}"
doca_kernel_version: "{{ stackhpc_doca_kernel_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version | string] }}"
tasks:
- name: Install kernel repo
ansible.builtin.dnf:
Expand Down
6 changes: 4 additions & 2 deletions etc/kayobe/ansible/rocky-97-ofed-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
vars:
# we don't build kernel modules for each version, eg 5.14.0-611.13.1 has been built,
# but not 5.14.0-611.20.1.
doca_kernel_version: "{{ stackhpc_doca_kernel_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version] }}"
doca_kernel_version: "{{ stackhpc_doca_kernel_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version | string] }}"
tasks:
- name: Assert that hosts are running Rocky Linux 9.6
ansible.builtin.assert:
Expand All @@ -28,7 +28,9 @@
fail_msg: >-
This playbook is only designed for Rocky Linux 9.6 hosts. Ensure
that you are limiting it to only run on Rocky Linux 9.6 hosts and
os_distribution is set to rocky.
os_distribution is set to rocky. This can be bypassed by setting the
skip_rocky_96_version_check variable to true.
when: not skip_rocky_96_version_check | default(false) | bool

- name: Ensure doca kernel repo is up to date
ansible.builtin.dnf:
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ofed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
stackhpc_pulp_doca_version_matrix:
"6": 2.9.3
"7": 3.2.1
stackhpc_pulp_doca_version: "{{ stackhpc_pulp_doca_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version] | default('2.9.1') }}"
stackhpc_pulp_doca_version: "{{ stackhpc_pulp_doca_version_matrix[stackhpc_pulp_repo_rocky_9_minor_version | string] | default('2.9.1') }}"

# Available and tested versions of the pre-compiled doca-ofed kernel modules
stackhpc_doca_kernel_version_matrix:
Expand Down
Loading