mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 17:10:27 +00:00
elk
This commit is contained in:
parent
9a284f0378
commit
d2cc2a853d
1 changed files with 7 additions and 5 deletions
|
@ -13,8 +13,10 @@
|
|||
- debug:
|
||||
msg: "elk_delete_image is {{elk_delete_image}}"
|
||||
|
||||
- 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
|
||||
- name: Set vm.max_map_count=262144 for hosted machine, otherwise ES start error
|
||||
become: yes
|
||||
sysctl:
|
||||
name: vm.max_map_count
|
||||
value: 262144
|
||||
state: present
|
||||
reload: yes
|
||||
|
|
Loading…
Reference in a new issue