Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
30d8b005
Commit
30d8b005
authored
6 years ago
by
Trung Nguyen
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken extra package and mlx driver version check
Former-commit-id:
4f52237c
parent
f3c15548
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/extra_packages/tasks/main.yml
+5
-0
5 additions, 0 deletions
roles/extra_packages/tasks/main.yml
roles/mellanox_drivers/vars/mellanoxVars.yml
+2
-1
2 additions, 1 deletion
roles/mellanox_drivers/vars/mellanoxVars.yml
with
7 additions
and
1 deletion
roles/extra_packages/tasks/main.yml
+
5
−
0
View file @
30d8b005
...
...
@@ -19,6 +19,11 @@
become
:
true
become_user
:
root
when
:
ansible_os_family == 'RedHat'
register
:
result
-
name
:
"
Show
yum
install
output"
debug
:
msg
:
"
{{
result.results
}}"
-
name
:
"
Install
extra
packages"
apt
:
"
name={{
item
}}
update_cache=yes
state=present"
...
...
This diff is collapsed.
Click to expand it.
roles/mellanox_drivers/vars/mellanoxVars.yml
+
2
−
1
View file @
30d8b005
...
...
@@ -3,4 +3,5 @@
#MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-3.1-1.0.3-rhel7.1-x86_64-ext{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}"
#MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-3.1-1.0.3-rhel7.2-x86_64-ext{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}"
#MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-3.4-1.0.0.0-rhel7.2-x86_64{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}"
MELLANOX_DRIVER_SRC
:
"
{%
if
ansible_os_family
==
'RedHat'
%}MLNX_OFED_LINUX-4.2-1.2.0.0-rhel7.4-x86_64{%
elif
ansible_os_family
==
'Debian'
%}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{%
endif
%}"
# MELLANOX_DRIVER_SRC: "{% if ansible_os_family == 'RedHat' %}MLNX_OFED_LINUX-4.2-1.2.0.0-rhel7.4-x86_64{% elif ansible_os_family == 'Debian' %}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{% endif %}"
MELLANOX_DRIVER_SRC
:
"
{%
if
ansible_os_family
==
'RedHat'
%}MLNX_OFED_LINUX-4.4-1.0.0.0-rhel7.4-x86_64{%
elif
ansible_os_family
==
'Debian'
%}MLNX_OFED_LINUX-3.1-1.0.3-ubuntu14.04-x86_64{%
endif
%}"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment