From 1c56b2f2944b30e2275fef8b92ba4388cd38ec4a Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 19 Jul 2022 11:23:04 +0800 Subject: [PATCH] Delete pre.yml --- apps/roles/onlyoffice/tasks/pre.yml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 apps/roles/onlyoffice/tasks/pre.yml diff --git a/apps/roles/onlyoffice/tasks/pre.yml b/apps/roles/onlyoffice/tasks/pre.yml deleted file mode 100644 index 3565fe0f..00000000 --- a/apps/roles/onlyoffice/tasks/pre.yml +++ /dev/null @@ -1,27 +0,0 @@ -- pause: - prompt: | - Choice Erpnext version: - 0: ERPNext13 - 1: ERPNext12 - 2: ERPNext11 - private: no - Default:0 - register: version_options - -- set_fact: - erpnext_version_meta: - "0": "13" - "1": "12" - "2": "11" - -- set_fact: - erpnext_version: "{{erpnext_version_meta[version_options.user_input]}}" - -- debug: - msg: "erpnext_version is {{erpnext_version}}" - -- name: Config .env for start containers - shell: | - public_ip=`wget -O - https://download.websoft9.com/ansible/get_ip.sh | bash` - sed -i 's/APP_VERSION=.*/APP_VERSION=v{{erpnext_version}}/g' {{installpath}}/{{appname}}/.env - sed -i "s/erp.example.com/$public_ip/g" {{installpath}}/{{appname}}/.env