From 67e54f513314913ca40f683c6c30fd838f9f3691 Mon Sep 17 00:00:00 2001 From: handreas <andreas.hamacher@monash.edu> Date: Wed, 3 Jun 2020 12:26:21 +0000 Subject: [PATCH] removing kmod mlnx-kernel and removinf --force --- roles/mellanox_drivers/tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/mellanox_drivers/tasks/main.yml b/roles/mellanox_drivers/tasks/main.yml index b28230a0..668b80d7 100644 --- a/roles/mellanox_drivers/tasks/main.yml +++ b/roles/mellanox_drivers/tasks/main.yml @@ -105,15 +105,15 @@ become: true when: install_now -- name: install ofa_kernel - yum: - name: kmod-mlnx-ofa_kernel-{{ MELLANOX_VERSION }} - state: present - allow_downgrade: yes - become: true +#- name: install ofa_kernel # this will be installed by mlnxofedinstall +# yum: +# name: kmod-mlnx-ofa_kernel-{{ MELLANOX_VERSION }} +# state: present +# allow_downgrade: yes +# become: true - name: install drivers - shell: ./mlnxofedinstall -q --add-kernel-support --force --skip-repo + shell: ./mlnxofedinstall -q --add-kernel-support --skip-repo #--force args: chdir: "/tmp/{{ MELLANOX_DRIVER_SRC }}" become: true -- GitLab