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
175d0f6d
Commit
175d0f6d
authored
4 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
lspci needs a full path and its different for RHEL and Debian
parent
64b84a9a
No related branches found
No related tags found
1 merge request
!426
lspci needs a full path and its different for RHEL and Debian
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/mellanox_drivers/tasks/main.yml
+9
-2
9 additions, 2 deletions
roles/mellanox_drivers/tasks/main.yml
with
9 additions
and
2 deletions
roles/mellanox_drivers/tasks/main.yml
+
9
−
2
View file @
175d0f6d
...
...
@@ -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
...
...
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