diff --git a/roles/mellanox_drivers/tasks/main.yml b/roles/mellanox_drivers/tasks/main.yml index 45dbeb441e69a0354d320771e86dea709ea11975..08380a354f5ea1d3040dec5bdd477da60065582d 100644 --- a/roles/mellanox_drivers/tasks/main.yml +++ b/roles/mellanox_drivers/tasks/main.yml @@ -223,7 +223,7 @@ chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" become: true become_user: root - when: install_now and buildKMOD!=True and ansible_os_family == "Redhat" + when: install_now and buildKMOD!=True and ansible_os_family == "RedHat" - name: build and install drivers Redhat shell: ./mlnxofedinstall -q --skip-repo --without-fw-update --add-kernel-support --hpc --kmp --all @@ -231,7 +231,7 @@ chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" become: true become_user: root - when: install_now and buildKMOD==True and ansible_os_family == "Redhat" + when: install_now and buildKMOD==True and ansible_os_family == "RedHat" - name: build and install drivers Debian shell: ./mlnxofedinstall -q --skip-repo --without-fw-update --hpc --dkms