mirror of https://github.com/easzlab/kubeasz.git
fix: docker/containerd是否需要安装的判断条件
parent
27ba087b8a
commit
2769576aaa
|
@ -66,4 +66,4 @@
|
|||
state: present
|
||||
regexp: 'crictl completion'
|
||||
line: 'source <(crictl completion)'
|
||||
when: "'running' not in containerd_svc.stdout"
|
||||
when: "'active' not in containerd_svc.stdout"
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
- name: 配置 docker 命令软链接
|
||||
file: src={{ bin_dir }}/docker dest=/usr/bin/docker state=link
|
||||
ignore_errors: true
|
||||
when: "'running' not in containerd_svc.stdout and 'running' not in docker_svc.stdout"
|
||||
when: "'active' not in containerd_svc.stdout and 'active' not in docker_svc.stdout"
|
||||
|
||||
## 可选 ------安装docker查询镜像 tag的小工具----
|
||||
- name: 下载 docker-tag
|
||||
|
|
Loading…
Reference in New Issue