modified main.yml, add copy `harbor-image-tag` setction, del comment for docker-tag use `jq` description

pull/828/head
lushenle 2020-03-31 18:05:34 +08:00 committed by jmgao
parent 0e988944bc
commit 18d031e506
1 changed files with 3 additions and 1 deletions

View File

@ -89,10 +89,12 @@
tags: upgrade_docker tags: upgrade_docker
## 可选 ------安装docker查询镜像 tag的小工具---- ## 可选 ------安装docker查询镜像 tag的小工具----
# 先要安装轻量JSON处理程序jq已在 prepare 节点安装
- name: 下载 docker-tag - name: 下载 docker-tag
copy: src=docker-tag dest={{ bin_dir }}/docker-tag mode=0755 copy: src=docker-tag dest={{ bin_dir }}/docker-tag mode=0755
- name: 下载 harbor-image-tag
copy: src=harbor-image-tag dest={{ bin_dir }}/harbor-image-tag mode=0755
- name: 轮询等待docker服务运行 - name: 轮询等待docker服务运行
shell: "systemctl status docker.service|grep Active" shell: "systemctl status docker.service|grep Active"
register: docker_status register: docker_status