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

Merge branch 'faster_mlx_install' into 'master'

merging several installs into one per-host parameterized task

See merge request !577
parents 42787e17 8f6a1c26
No related branches found
No related tags found
1 merge request!577merging several installs into one per-host parameterized task
...@@ -210,44 +210,37 @@ ...@@ -210,44 +210,37 @@
when: install_now when: install_now
- name: install drivers Debian - name: install drivers Debian
shell: ./mlnxofedinstall -q --skip-repo --without-fw-update --hpc --dkms set_fact:
args: mlnxofedinstall_args: "-q --skip-repo --without-fw-update --hpc --dkms"
chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" when: buildKMOD!=True and ansible_os_family == "Debian"
become: true
become_user: root
when: install_now and buildKMOD!=True and ansible_os_family == "Debian"
- name: install drivers Redhat VM - name: install drivers Redhat VM
shell: ./mlnxofedinstall -q --skip-repo --without-fw-update set_fact:
args: mlnxofedinstall_args: "-q --skip-repo --without-fw-update"
chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" when: buildKMOD!=True and ansible_os_family == "RedHat" and "OpenStack Nova" in ansible_product_name
become: true
become_user: root
when: install_now and buildKMOD!=True and ansible_os_family == "RedHat" and "OpenStack Nova" in ansible_product_name
- name: install drivers Redhat with firmware on BM - name: install drivers Redhat with firmware on BM
shell: ./mlnxofedinstall -q --skip-repo set_fact:
args: mlnxofedinstall_args: "-q --skip-repo"
chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" when: buildKMOD!=True and ansible_os_family == "RedHat" and "OpenStack Nova" not in ansible_product_name
become: true
become_user: root
when: install_now and buildKMOD!=True and ansible_os_family == "RedHat" and "OpenStack Nova" not in ansible_product_name
- name: build and install drivers Redhat - name: build and install drivers Redhat
shell: ./mlnxofedinstall -q --skip-repo --without-fw-update --add-kernel-support --hpc --kmp --all set_fact:
args: mlnxofedinstall_args: "./mlnxofedinstall -q --skip-repo --without-fw-update --add-kernel-support --hpc --kmp --all"
chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" when: buildKMOD==True and ansible_os_family == "RedHat"
become: true
become_user: root
when: install_now and buildKMOD==True and ansible_os_family == "RedHat"
- name: build and install drivers Debian - 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: args:
chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}"
become: true become: true
become_user: root become_user: root
when: install_now and buildKMOD==True and ansible_os_family == "Debian" when: install_now
# #
# A REBOOT IS NEEDED AFTER SUCCESSFUL INSTALL # A REBOOT IS NEEDED AFTER SUCCESSFUL INSTALL
......
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