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
Merge requests
!426
lspci needs a full path and its different for RHEL and Debian
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
lspci needs a full path and its different for RHEL and Debian
bugfix
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Andreas Hamacher
requested to merge
bugfix
into
master
4 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
175d0f6d
1 commit,
4 years ago
1 file
+
9
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
roles/mellanox_drivers/tasks/main.yml
+
9
−
2
Options
@@ -2,10 +2,17 @@
-
name
:
"
Force
this
role
to
fail
if
no
Mellanox
hardware
is
present"
#Exclude the role via tags ans ansible-playbook --skip-tags mlx
shell
:
"
lspci
|
grep
Mellanox"
shell
:
"
/usr/sbin/
lspci
|
grep
Mellanox"
check_mode
:
yes
when
:
ansible_os_family == "RedHat"
-
name
:
"
Force
this
role
to
fail
if
no
Mellanox
hardware
is
present"
#Exclude the role via tags ans ansible-playbook --skip-tags mlx
shell
:
"
/usr/bin/lspci
|
grep
Mellanox"
check_mode
:
yes
when
:
ansible_os_family == "Debian"
#- include_vars: mellanoxVars.yml
-
name
:
yum install dependencies
yum
:
name=perl,pciutils,gtk2,atk,cairo,gcc-gfortran,libxml2-python,tcsh,libnl,lsof,tcl,tk,kernel-devel,python-devel,createrepo,rpm-build
Loading