fix docker与containerd安全检查

pull/641/head
gjmzj 2019-06-11 15:57:25 +08:00
parent 0f9c12525b
commit bc5fdd0898
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