summaryrefslogtreecommitdiffstats
path: root/roles/ib/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ib/handlers')
-rw-r--r--roles/ib/handlers/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/ib/handlers/main.yml b/roles/ib/handlers/main.yml
new file mode 100644
index 0000000..75661b9
--- /dev/null
+++ b/roles/ib/handlers/main.yml
@@ -0,0 +1,16 @@
+---
+- name: Unload mlx4_ib
+ modprobe: name="mlx4_ib" state="absent"
+ listen: mlx-reload
+
+- name: Unload mlx4_en
+ modprobe: name="mlx4_en" state="absent"
+ listen: mlx-reload
+
+- name: Unload mlx4_core
+ modprobe: name="mlx4_core" state="absent"
+ listen: mlx-reload
+
+- name: Load mlx4_en
+ modprobe: name="mlx4_en" state="present"
+ listen: mlx-reload