From b9befeb5eb96903d4a1198b492abf477884f23d4 Mon Sep 17 00:00:00 2001
From: handreas <andreas.hamacher@monash.edu>
Date: Mon, 19 Jul 2021 12:53:45 +1000
Subject: [PATCH] typo. wrong Redhat, right RedHat

---
 roles/mellanox_drivers/tasks/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/mellanox_drivers/tasks/main.yml b/roles/mellanox_drivers/tasks/main.yml
index 04322c7a..04471528 100644
--- a/roles/mellanox_drivers/tasks/main.yml
+++ b/roles/mellanox_drivers/tasks/main.yml
@@ -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 Redhat
   shell: ./mlnxofedinstall -q --skip-repo --without-fw-update --add-kernel-support --hpc --kmp --all
@@ -239,7 +239,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
-- 
GitLab