From 5e218e1a1df44897b46f5467e14c97d0155bae97 Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Thu, 20 Jul 2017 12:38:56 -0400 Subject: 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. --- roles/docker/tasks/systemcontainer_crio.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/docker') 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: -- cgit v1.2.1