|
@@ -5,6 +5,10 @@
|
|
|
dest: /etc/modules-load.d/glusterfs.conf
|
|
|
register: km
|
|
|
|
|
|
+- name: Install kernel modules package on Fedora
|
|
|
+ shell: "dnf install kernel-modules-$(uname -r) -y"
|
|
|
+ when: ansible_distribution == "Fedora"
|
|
|
+
|
|
|
- name: load kernel modules
|
|
|
systemd:
|
|
|
name: systemd-modules-load.service
|