From f45c0b333d242b4258204d3685c7978c2910c7dc Mon Sep 17 00:00:00 2001 From: lu Date: Fri, 8 Jun 2018 10:09:03 +0800 Subject: [PATCH] =?UTF-8?q?harbor=E6=B7=BB=E5=8A=A0=E8=A7=A3=E5=8E=8B?= =?UTF-8?q?=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/harbor/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/harbor/tasks/main.yml b/roles/harbor/tasks/main.yml index 991c067..af71be2 100644 --- a/roles/harbor/tasks/main.yml +++ b/roles/harbor/tasks/main.yml @@ -15,6 +15,12 @@ register: result ignore_errors: True +- name: 安装解压工具 + yum: name={{ item }} state=latest + with_items: + - zip + - unzip + - name: 解压harbor离线安装包 unarchive: src: "{{ base_dir }}/down/harbor-offline-installer-v1.5.1.zip"