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

reboot after installing mellanox drivers

Former-commit-id: e45932e6
parent eed58e19
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
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