mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
Update install.yml
This commit is contained in:
parent
4eabe7a4db
commit
2ba691ae6b
@ -2,7 +2,7 @@
|
|||||||
shell: docker network create websoft9
|
shell: docker network create websoft9
|
||||||
failed_when: False
|
failed_when: False
|
||||||
|
|
||||||
- name: Git Clone app docker repository
|
- 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}}
|
||||||
@ -12,6 +12,12 @@
|
|||||||
repo: "https://github.com/Websoft9/docker-{{app}}.git"
|
repo: "https://github.com/Websoft9/docker-{{app}}.git"
|
||||||
dest: "{{installpath}}/{{app}}"
|
dest: "{{installpath}}/{{app}}"
|
||||||
|
|
||||||
|
- name: Change Public IP for http_url if APP_URL_REPLACE=true
|
||||||
|
shell: |
|
||||||
|
wget -N https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/change_ip.sh
|
||||||
|
bash change_ip.sh "{{appname}}"
|
||||||
|
rm -f change_ip.sh
|
||||||
|
|
||||||
- name: Excute Preparation if have pre.yml
|
- name: Excute Preparation if have pre.yml
|
||||||
block:
|
block:
|
||||||
- name: Check if pre.yml exists
|
- name: Check if pre.yml exists
|
||||||
|
Loading…
Reference in New Issue
Block a user