diff --git a/set-contained-proxy.yaml b/set-contained-proxy.yaml index 9844077..8ba26b1 100644 --- a/set-contained-proxy.yaml +++ b/set-contained-proxy.yaml @@ -15,10 +15,9 @@ when: kubelet_status.stdout == "active" - name: Create or edit http-proxy.conf for containerd - blockinfile: - path: /etc/systemd/system/containerd.service.d/http-proxy.conf - create: yes - block: | + copy: + dest: /etc/systemd/system/containerd.service.d/http-proxy.conf + content: | [Service] Environment="HTTP_PROXY=http://192.168.1.38:7890" Environment="HTTPS_PROXY=http://192.168.1.38:7890" diff --git a/tmp.ini b/tmp.ini index 250930e..4b51b69 100644 --- a/tmp.ini +++ b/tmp.ini @@ -1,4 +1,2 @@ [waykey] -192.168.1.16 -192.168.1.41 -192.168.1.68 +192.168.1.43