mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 15:40:22 +00:00
Update pre.yml
This commit is contained in:
parent
0c28c467e7
commit
b0c57d8d53
1 changed files with 0 additions and 2 deletions
|
@ -22,6 +22,4 @@
|
||||||
|
|
||||||
- name: Config .env for start containers
|
- name: Config .env for start containers
|
||||||
shell: |
|
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/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 a new issue