mirror of https://github.com/easzlab/kubeasz.git
modified main.yml, add copy `harbor-image-tag` setction, del comment for docker-tag use `jq` description
parent
0e988944bc
commit
18d031e506
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue