mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
commit
a4d8201955
2 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue