mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Delete pre.yml
This commit is contained in:
parent
15c5134aef
commit
1c56b2f294
@ -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
|
Loading…
Reference in New Issue
Block a user