Merge pull request #97 from Websoft9/dev

Dev
This commit is contained in:
qiaofeng1227 2022-10-22 09:48:30 +08:00 committed by GitHub
commit a4d8201955
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View file

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

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