fix: block in file
This commit is contained in:
@@ -15,10 +15,9 @@
|
|||||||
when: kubelet_status.stdout == "active"
|
when: kubelet_status.stdout == "active"
|
||||||
|
|
||||||
- name: Create or edit http-proxy.conf for containerd
|
- name: Create or edit http-proxy.conf for containerd
|
||||||
blockinfile:
|
copy:
|
||||||
path: /etc/systemd/system/containerd.service.d/http-proxy.conf
|
dest: /etc/systemd/system/containerd.service.d/http-proxy.conf
|
||||||
create: yes
|
content: |
|
||||||
block: |
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment="HTTP_PROXY=http://192.168.1.38:7890"
|
Environment="HTTP_PROXY=http://192.168.1.38:7890"
|
||||||
Environment="HTTPS_PROXY=http://192.168.1.38:7890"
|
Environment="HTTPS_PROXY=http://192.168.1.38:7890"
|
||||||
|
|||||||
Reference in New Issue
Block a user