fix: block in file
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user