Update install.yml

This commit is contained in:
qiaofeng1227 2022-10-22 09:27:21 +08:00 committed by GitHub
parent c36ef8db01
commit f76b6f568a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,12 +5,15 @@
- name: Git Clone app docker repository and change public IP - name: Git Clone app docker repository and change public IP
block: block:
- name: Delete {{app}} dir for Second installation - 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: git:
repo: "https://github.com/Websoft9/docker-{{app}}.git" repo: "https://github.com/Websoft9/docker-library.git"
dest: "{{installpath}}/{{app}}" dest: "{{installpath}}/library"
- name: Clone app from libray
shell: cp -r "{{installpath}}/library/apps/{{app}}" "{{installpath}}"
- name: Check APP_URL_REPLACE exists - name: Check APP_URL_REPLACE exists
shell: | shell: |