fix当偶然出现docker安装失败的错误

pull/644/head
gjmzj 2019-07-17 22:53:24 +08:00
parent 8996741419
commit 2f82e931ec
1 changed files with 17 additions and 17 deletions

View File

@ -11,7 +11,6 @@
register: install_info
tags: upgrade_docker, download_docker
- block:
# 18.09.x 版本二进制名字有变化,需要做判断
- name: 获取docker版本信息
shell: "{{ base_dir }}/bin/dockerd --version|cut -d' ' -f3"
@ -29,6 +28,7 @@
debug: var="DOCKER_VER"
tags: upgrade_docker, download_docker
- block:
- name: 准备docker相关目录
file: name={{ item }} state=directory
with_items: