From f76b6f568a66abc2ced0c579ef831d06bdd2d3e1 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Sat, 22 Oct 2022 09:27:21 +0800 Subject: [PATCH] Update install.yml --- apps/tasks/install.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/tasks/install.yml b/apps/tasks/install.yml index d503aa5e..1cdf34ab 100644 --- a/apps/tasks/install.yml +++ b/apps/tasks/install.yml @@ -5,12 +5,15 @@ - name: Git Clone app docker repository and change public IP block: - name: Delete {{app}} dir for Second installation - shell: rm -rf {{installpath}}/{{app}} + shell: rm -rf {{installpath}}/{{app}} {{installpath}}/library - - name: Clone {{app}} in Websoft9 + - name: Clone docker-library in Websoft9 git: - repo: "https://github.com/Websoft9/docker-{{app}}.git" - dest: "{{installpath}}/{{app}}" + repo: "https://github.com/Websoft9/docker-library.git" + dest: "{{installpath}}/library" + + - name: Clone app from libray + shell: cp -r "{{installpath}}/library/apps/{{app}}" "{{installpath}}" - name: Check APP_URL_REPLACE exists shell: |