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
8f6a1c26
Commit
8f6a1c26
authored
2 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
merging several installs into one per-host parameterized task
parent
42787e17
No related branches found
Branches containing commit
No related tags found
1 merge request
!577
merging several installs into one per-host parameterized task
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/mellanox_drivers/tasks/main.yml
+19
-26
19 additions, 26 deletions
roles/mellanox_drivers/tasks/main.yml
with
19 additions
and
26 deletions
roles/mellanox_drivers/tasks/main.yml
+
19
−
26
View file @
8f6a1c26
...
...
@@ -210,44 +210,37 @@
when
:
install_now
-
name
:
install drivers Debian
shell
:
./mlnxofedinstall -q --skip-repo --without-fw-update --hpc --dkms
args
:
chdir
:
"
/tmp/{{
MELLANOX_DRIVER_SRC
}}"
become
:
true
become_user
:
root
when
:
install_now and buildKMOD!=True and ansible_os_family == "Debian"
set_fact
:
mlnxofedinstall_args
:
"
-q
--skip-repo
--without-fw-update
--hpc
--dkms"
when
:
buildKMOD!=True and ansible_os_family == "Debian"
-
name
:
install drivers Redhat VM
shell
:
./mlnxofedinstall -q --skip-repo --without-fw-update
args
:
chdir
:
"
/tmp/{{
MELLANOX_DRIVER_SRC
}}"
become
:
true
become_user
:
root
when
:
install_now and buildKMOD!=True and ansible_os_family == "RedHat" and "OpenStack Nova" in ansible_product_name
set_fact
:
mlnxofedinstall_args
:
"
-q
--skip-repo
--without-fw-update"
when
:
buildKMOD!=True and ansible_os_family == "RedHat" and "OpenStack Nova" in ansible_product_name
-
name
:
install drivers Redhat with firmware on BM
shell
:
./mlnxofedinstall -q --skip-repo
args
:
chdir
:
"
/tmp/{{
MELLANOX_DRIVER_SRC
}}"
become
:
true
become_user
:
root
when
:
install_now and buildKMOD!=True and ansible_os_family == "RedHat" and "OpenStack Nova" not in ansible_product_name
set_fact
:
mlnxofedinstall_args
:
"
-q
--skip-repo"
when
:
buildKMOD!=True and ansible_os_family == "RedHat" and "OpenStack Nova" not in ansible_product_name
-
name
:
build and install drivers Redhat
shell
:
./mlnxofedinstall -q --skip-repo --without-fw-update --add-kernel-support --hpc --kmp --all
args
:
chdir
:
"
/tmp/{{
MELLANOX_DRIVER_SRC
}}"
become
:
true
become_user
:
root
when
:
install_now and buildKMOD==True and ansible_os_family == "RedHat"
set_fact
:
mlnxofedinstall_args
:
"
./mlnxofedinstall
-q
--skip-repo
--without-fw-update
--add-kernel-support
--hpc
--kmp
--all"
when
:
buildKMOD==True and ansible_os_family == "RedHat"
-
name
:
build and install drivers Debian
shell
:
./mlnxofedinstall -q --skip-repo --without-fw-update --hpc --dkms
set_fact
:
mlnxofedinstall_args
:
"
-q
--skip-repo
--without-fw-update
--hpc
--dkms"
when
:
buildKMOD==True and ansible_os_family == "Debian"
-
name
:
run install
shell
:
"
./mlnxofedinstall
{{
mlnxofedinstall_args
}}"
args
:
chdir
:
"
/tmp/{{
MELLANOX_DRIVER_SRC
}}"
become
:
true
become_user
:
root
when
:
install_now
and buildKMOD==True and ansible_os_family == "Debian"
when
:
install_now
#
# A REBOOT IS NEEDED AFTER SUCCESSFUL INSTALL
...
...
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