log-store: add 2GB swap files to hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1218ab1772
commit
8ad0027936
|
@ -2,6 +2,10 @@
|
|||
# Mount extra volume for ElasticSearch container
|
||||
bootstrap__extra_volume_path: '/docker'
|
||||
|
||||
# Syncing can use a lot of mamory
|
||||
swap_file_path: '/main.swap'
|
||||
swap_file_size_mb: 2048
|
||||
|
||||
# ElasticSearch Cluster
|
||||
es_master_nodes: |
|
||||
{{ ansible_play_hosts
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
- name: Configure ElasticSearch servers
|
||||
hosts: log-store
|
||||
roles:
|
||||
- role: swap-file
|
||||
tags: swap-file
|
||||
- role: origin-certs
|
||||
tags: origin-certs
|
||||
- role: elasticsearch
|
||||
|
@ -17,7 +19,6 @@
|
|||
|
||||
- name: Configure ElasticSearch servers
|
||||
hosts: log-dash
|
||||
roles:
|
||||
pre_tasks:
|
||||
- name: Fetch available elasticsearch nodes
|
||||
uri:
|
||||
|
|
Loading…
Reference in New Issue