Ver código fonte

changed location of systemd

John Lockman 5 anos atrás
pai
commit
eb1f24ac7b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      roles/common/tasks/main.yml

+ 1 - 1
roles/common/tasks/main.yml

@@ -86,7 +86,7 @@
 
 - name: Add KUBE_EXTRA_ARGS to enable GPUs
   lineinfile:
-    path: /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
+    path: /usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf
     line: 'Environment="KUBELET_EXTRA_ARGS=--feature-gates=DevicePlugins=true"'
     insertbefore: 'KUBELET_KUBECONFIG_ARGS='
   tags: install