Update install.sh

This commit is contained in:
qiaofeng1227 2023-04-17 15:00:39 +08:00 committed by GitHub
parent 4f1ebd929d
commit da3fc09aa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ echo $repo_init
cd /tmp
rm -rf stackhub
wget -N https://websoft9.github.io/StackHub/scripts/githubclone.sh && bash githubclone.sh websoft9 StackHub
cd stackhub/apps
cd StackHub/apps
sudo echo "localhost" > hosts
ansible-playbook -i hosts application.yml -c local -e init=$repo_init -e appname=$repo_name
if [ $repo_init -ne 0 ]; then