Update install.yml

This commit is contained in:
qiaofeng1227 2022-12-08 11:54:36 +08:00 committed by GitHub
parent cc004fb2ea
commit 82c9755330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,13 @@
include_tasks: roles/{{app}}/tasks/pre.yml
when: pre_exists.status is defined and pre_exists.status == 200
- name: If this port in use, add a new port for this app
shell: |
wget -N https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/auto_addport.sh
bash auto_addport.sh
when: app != appname
- block:
- name: Docker compose up
shell: |