Skip to content
Draft
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
9 changes: 7 additions & 2 deletions ansible/roles/doca/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---

doca_version: "2.9.3" # 2.9 is LTS, last to support ConnectX-4, 3 years for bug fixes and CVE updates
# 2.9 is LTS, last to support ConnectX-4, 3 years for bug fixes and CVE updates
# See https://docs.nvidia.com/doca/archive/2-9-3/changes+and+new+features/index.html
# Also note that DOCA 3.2.0 lists Connectx-4lx as supported so it might also work:
# https://docs.nvidia.com/doca/sdk/general-support/index.html#src-4413883949_id-.GeneralSupportv3.2.0LC-SupportedPlatformsandNICFirmwareVersions
doca_version: "2.9.3"
doca_profile: doca-ofed
doca_repo_url: "https://linux.mellanox.com/public/repo/doca/{{ doca_version }}/rhel{{ ansible_distribution_version }}/{{ ansible_architecture }}/"
doca_distribution: "{{ doca_version is version('3.2.0', '>=') | ternary(ansible_distribution_major_version, ansible_distribution_version) }}"
doca_repo_url: "https://ark.stackhpc.com/pulp/content/doca/{{ doca_version }}/rhel{{ doca_distribution }}/{{ ansible_architecture }}/"
2 changes: 2 additions & 0 deletions ansible/roles/doca/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
baseurl: "{{ doca_repo_url }}"
enabled: true
gpgcheck: false
username: "{{ dnf_repos_username }}"
password: "{{ dnf_repos_password }}"

- name: Install doca-extra package
ansible.builtin.dnf:
Expand Down
Loading