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
435cedae
Commit
435cedae
authored
8 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
reboot after installing mellanox drivers
Former-commit-id:
e45932e6
parent
eed58e19
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/mellanox_drivers/tasks/main.yml
+5
-6
5 additions, 6 deletions
roles/mellanox_drivers/tasks/main.yml
with
5 additions
and
6 deletions
roles/mellanox_drivers/tasks/main.yml
+
5
−
6
View file @
435cedae
...
@@ -13,17 +13,16 @@
...
@@ -13,17 +13,16 @@
register
:
drivers_installed
register
:
drivers_installed
ignore_errors
:
true
ignore_errors
:
true
-
name
:
set install
-
name
:
default dont install
set_fact
:
install_now=True, reboot_now=False
set_fact
:
install_now=false reboot_now=False
-
name
:
set install
set_fact
:
install_now=True reboot_now=True
when
:
drivers_installed | failed
-
name
:
copy driver source
-
name
:
copy driver source
#make this a variable
unarchive
:
copy=no src="http://consistency0/src/{{ MELLANOX_DRIVER_SRC }}.tgz" dest=/tmp
unarchive
:
copy=no src="http://consistency0/src/{{ MELLANOX_DRIVER_SRC }}.tgz" dest=/tmp
sudo
:
true
sudo
:
true
#when: drivers_installed|failed and ansible_os_family=="RedHat" and ansible_distribution_major_version == "7"
when
:
install_now
when
:
install_now
-
name
:
install drivers
-
name
:
install drivers
...
...
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