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
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: |