websoft9/apps/roles/erpnext/tasks/main.yml
2022-07-08 17:03:06 +08:00

14 lines
467 B
YAML

- name: Install {{appname}}
include_tasks: tasks/install.yml
vars:
app: "erpnext"
- 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