Skip to content
Snippets Groups Projects
Commit 350c14d4 authored by Chris Hines's avatar Chris Hines
Browse files

Merge branch 'mellanox_drivers' into 'master'

reboot after installing mellanox drivers



See merge request !84

Former-commit-id: 348896b9
parents eed58e19 435cedae
No related branches found
No related tags found
No related merge requests found
......@@ -13,17 +13,16 @@
register: drivers_installed
ignore_errors: true
- name: set install
set_fact: install_now=True, reboot_now=False
- name: default dont install
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
#make this a variable
unarchive: copy=no src="http://consistency0/src/{{ MELLANOX_DRIVER_SRC }}.tgz" dest=/tmp
sudo: true
#when: drivers_installed|failed and ansible_os_family=="RedHat" and ansible_distribution_major_version == "7"
when: install_now
- name: install drivers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment