Update install.sh

This commit is contained in:
qiaofeng1227 2022-08-16 11:26:58 +08:00 committed by GitHub
parent 4db484236f
commit d4542138a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,5 +75,5 @@ rm -rf stackhub
sudo git clone --depth=1 https://github.com/Websoft9/stackhub.git
cd stackhub/apps
sudo echo "localhost" > hosts
ansible-playbook -i hosts $repo_name.yml -c local -e init=$repo_init -e appname=$repo_name
ansible-playbook -i hosts application.yml -c local -e init=$repo_init -e appname=$repo_name
echo "System must restart after 2s, then installation completed"; sleep 2 ; sudo reboot