summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-07-20 12:38:56 -0400
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-08-03 17:20:52 +0200
commit5e218e1a1df44897b46f5467e14c97d0155bae97 (patch)
treea679ea2aa039f919932dac58160d6e0685f6ce81 /roles
parenta4be4c390a5eca18ef2cec8af57c24dfc162e6d2 (diff)
downloadopenshift-5e218e1a1df44897b46f5467e14c97d0155bae97.tar.gz
openshift-5e218e1a1df44897b46f5467e14c97d0155bae97.tar.bz2
openshift-5e218e1a1df44897b46f5467e14c97d0155bae97.tar.xz
openshift-5e218e1a1df44897b46f5467e14c97d0155bae97.zip
cri-o: Enable systemd-modules-load if required
If we had to drop the overlay file in /etc/modules-load.d/ then enable the systemd-modules-load service and make sure it runs.
Diffstat (limited to 'roles')
-rw-r--r--roles/docker/tasks/systemcontainer_crio.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/docker/tasks/systemcontainer_crio.yml b/roles/docker/tasks/systemcontainer_crio.yml
index 68f9d9649..21fc703fe 100644
--- a/roles/docker/tasks/systemcontainer_crio.yml
+++ b/roles/docker/tasks/systemcontainer_crio.yml
@@ -44,6 +44,12 @@
- name: Manually modprobe overlay into the kernel
command: modprobe overlay
+ - name: Enable and start systemd-modules-load
+ service:
+ name: systemd-modules-load
+ enabled: yes
+ state: restarted
+
- block: