Skip to content

Commit cc591c8

Browse files
authored
Merge pull request #41 from stackhpc/sriov-debian-url
Correct sriov_mft_url for debian
2 parents 87ba6ba + a2f5793 commit cc591c8

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
namespace: stackhpc
33
name: linux
4-
version: 1.3.2
4+
version: 1.3.3
55
readme: README.md
66
authors:
77
- Mark Goddard <[email protected]>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes the sriov role to install MFT from the correct URL.

roles/sriov/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
sriov_devices: []
44
sriov_workdir: "{{ ansible_facts.env.HOME }}/.sriov"
55

6-
sriov_mft_url: https://www.mellanox.com/downloads/MFT/mft-4.23.0-104-x86_64-rpm.tgz
6+
sriov_mft_url: "{{ 'https://www.mellanox.com/downloads/MFT/mft-4.23.0-104-x86_64-rpm.tgz' if ansible_facts.os_family == 'RedHat' else 'https://www.mellanox.com/downloads/MFT/mft-4.30.1-113-x86_64-deb.tgz' }}"
77

88
sriov_mft_tarball: "{{ sriov_mft_url | urlsplit('path') | basename }}"
99

0 commit comments

Comments
 (0)