summaryrefslogtreecommitdiffstats
path: root/roles/openshift_storage_glusterfs/tasks/kernel_modules.yml
blob: 3bdfa183fae69aec13d8424c82b339f5eac9376c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: Ensure device mapper modules loaded
  template:
    src: glusterfs.conf
    dest: /etc/modules-load.d/glusterfs.conf
  register: km

- name: load kernel modules
  systemd:
    name: systemd-modules-load.service
    state: restarted
  when: km is changed