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
4f52237c
Commit
4f52237c
authored
6 years ago
by
Trung Nguyen
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken extra package and mlx driver version check
parent
90654f16
No related branches found
Branches containing commit
No related tags found
1 merge request
!194
Fix broken extra package and mlx driver version check
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 @
4f52237c
...
...
@@ -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 @
4f52237c
...
...
@@ -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.
Trung Nguyen
@tngu0050
mentioned in commit
30d8b005
·
4 years ago
mentioned in commit
30d8b005
mentioned in commit 30d8b005a3539ed936dead4adc59d26bdb2f48cc
Toggle commit list
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