Update main.yml

This commit is contained in:
qiaofeng1227 2022-05-16 14:21:44 +08:00 committed by GitHub
parent 5b191d7628
commit 6188cc18b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,2 +1,8 @@
- name: wait for {{appname}} start
wait_for:
port: "{{nginx_reverse_proxy_port}}"
delay: 10
timeout: 300
- name: Check {{appname}} Version
shell: sudo echo "erpnext version:" $(docker exec -it $(docker ps |grep frappe-socketio |awk '{print $1}') cat app_versions.json |grep -m 1 "erpnext" |awk '{print $2}') |sudo tee -a /data/logs/install_version.txt