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

Update failover option for DGX

parent 9c885a32
No related branches found
No related tags found
1 merge request!314Dgxdeploy
......@@ -128,18 +128,6 @@
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
......@@ -166,3 +154,15 @@
- name: waiting for server to come back
wait_for_connection: sleep=60 timeout=600 delay=60
when: reboot_now
- 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
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