fix docker与containerd安装检查

dev1
gjmzj 2019-06-11 15:55:07 +08:00
parent 4995d2b809
commit ab31b12ffb
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
- name: 获取是否已经安装docker
shell: 'systemctl status docker|grep Active'
shell: 'systemctl status docker|grep Active || echo "NOT FOUND"'
register: docker_status
- name: fail info1

View File

@ -1,5 +1,5 @@
- name: 获取是否已经安装containerd
shell: 'systemctl status containerd|grep Active'
shell: 'systemctl status containerd|grep Active || echo "NOT FOUND"'
register: containerd_status
- name: fail info1