Explorar o código

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.
Steve Milner %!s(int64=7) %!d(string=hai) anos
pai
achega
5e218e1a1d
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      roles/docker/tasks/systemcontainer_crio.yml

+ 6 - 0
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: