Преглед изворни кода

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 пре 7 година
родитељ
комит
5e218e1a1d
1 измењених фајлова са 6 додато и 0 уклоњено
  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
     - name: Manually modprobe overlay into the kernel
       command: modprobe overlay
       command: modprobe overlay
 
 
+    - name: Enable and start systemd-modules-load
+      service:
+        name: systemd-modules-load
+        enabled: yes
+        state: restarted
+
 
 
 - block:
 - block: