From c36ef8db010b249f386348e2aa8de44303de6d7c Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Sat, 22 Oct 2022 09:17:14 +0800 Subject: [PATCH 1/2] Update application.yml --- apps/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application.yml b/apps/application.yml index df587629..a4cd619f 100644 --- a/apps/application.yml +++ b/apps/application.yml @@ -19,7 +19,7 @@ - name: Check if nginx is necessary shell : | - wget -N https://raw.githubusercontent.com/Websoft9/docker-{{appname}}/main/.env + wget -N https://raw.githubusercontent.com/Websoft9/docker-library/main/apps/{{appname}}/.env cat .env register: env_content failed_when: False 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 2/2] 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: |