Skip to content
Snippets Groups Projects
Commit da079f08 authored by Trung Nguyen's avatar Trung Nguyen
Browse files

Update failover option for DGX

parent 38de7942
No related branches found
No related tags found
1 merge request!314Dgxdeploy
......@@ -114,7 +114,6 @@
- mlnx-ofa_kernel-modules
when: install_now
- name: install drivers
shell: ./mlnxofedinstall -q --add-kernel-support --force --skip-repo
args:
......@@ -129,6 +128,18 @@
become_user: root
register: service_file
- name: Set failover mode on DGX baremetal nodes
lineinfile:
path: /etc/modprobe.d/ko2iblnd.conf
state: present
line: "options ko2iblnd dev_failover=1"
insertafter: EOF
when:
- '"DGX" in ansible_product_name'
- '"RedHat" in ansible_distribution'
become: true
become_user: root
- name: Reload systemd
shell: systemctl daemon-reload
become: true
......
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