diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-10-30 09:26:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 09:26:18 -0400 |
commit | 2d0365bfabc225dcb91a0df9f37ecda2bd606602 (patch) | |
tree | 1e93a6d81196a872f8115cbc9bcdb36598c66fff /roles/openshift_storage_glusterfs/tasks | |
parent | 0b95dea19dd60ca6a485b93b8d4bc7ead46e2a08 (diff) | |
parent | bbafaeb918a2ffbd591595bb5fb2a99eb900721d (diff) | |
download | openshift-2d0365bfabc225dcb91a0df9f37ecda2bd606602.tar.gz openshift-2d0365bfabc225dcb91a0df9f37ecda2bd606602.tar.bz2 openshift-2d0365bfabc225dcb91a0df9f37ecda2bd606602.tar.xz openshift-2d0365bfabc225dcb91a0df9f37ecda2bd606602.zip |
Merge pull request #5720 from sdodson/issue5108
Add dm_thin_pool for gluster use
Diffstat (limited to 'roles/openshift_storage_glusterfs/tasks')
-rw-r--r-- | roles/openshift_storage_glusterfs/tasks/kernel_modules.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/kernel_modules.yml b/roles/openshift_storage_glusterfs/tasks/kernel_modules.yml new file mode 100644 index 000000000..030fa81c9 --- /dev/null +++ b/roles/openshift_storage_glusterfs/tasks/kernel_modules.yml @@ -0,0 +1,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 | changed |