diff --git a/roles/containerd/tasks/main.yml b/roles/containerd/tasks/main.yml index de0a16d..5e4fd6b 100644 --- a/roles/containerd/tasks/main.yml +++ b/roles/containerd/tasks/main.yml @@ -15,7 +15,7 @@ - name: 下载 containerd 二进制文件 copy: src={{ item }} dest={{ bin_dir }}/containerd-bin/ mode=0755 with_fileglob: - - {{ base_dir }}/bin/containerd-bin/* + - "{{ base_dir }}/bin/containerd-bin/*" tags: upgrade - name: 下载 crictl diff --git a/roles/kube-node/tasks/main.yml b/roles/kube-node/tasks/main.yml index bf150c8..ac444a8 100644 --- a/roles/kube-node/tasks/main.yml +++ b/roles/kube-node/tasks/main.yml @@ -17,7 +17,7 @@ - name: 下载 cni plugins 二进制文件 copy: src={{ item }} dest=/opt/cni/bin/ mode=0755 with_fileglob: - - {{ base_dir }}/bin/cni-bin/* + - "{{ base_dir }}/bin/cni-bin/*" - name: 添加 kubectl 自动补全 lineinfile: