From dfa533bd0635859af2bdc7e98060c3b0c501ff72 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 19 Jul 2022 11:23:55 +0800 Subject: [PATCH] Update main.yml --- apps/roles/onlyoffice/tasks/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/roles/onlyoffice/tasks/main.yml b/apps/roles/onlyoffice/tasks/main.yml index 8f7320cf..ce877fc1 100644 --- a/apps/roles/onlyoffice/tasks/main.yml +++ b/apps/roles/onlyoffice/tasks/main.yml @@ -1,2 +1,10 @@ -- 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 +- name: Install {{appname}} + include_tasks: tasks/install.yml + vars: + app: "onlyoffice" + +- name: wait for {{appname}} start + wait_for: + port: "{{nginx_reverse_proxy_port}}" + delay: 10 + timeout: 120