This is an Ansible role that installs and configures Elasticsearch.
The role includes optional Xenforo scripts for Elasticsearch, although by default they are not installed. These scripts require the Enhanced Search addon for Xenforo.
For the standard ES variables, see defaults/main.yml. You will likely want to
increase es_heap_size
as it defaults to an insanely low 256mb for safety.
To install the Xenforo scripts for Elasticsearch, set xenforo
to True
. A
good rule of thumb is ~90MB of es_heap_size
per million Xenforo forum posts
with a minimum of 256MB, per: https://xenforo.com/community/threads/scaling-database.98161/#post-945458
- hosts: servers
roles:
- { role: elasticsearch,
xenforo: True,
es_heap_size: 500m,
tags: ['es'] }
MIT
Jeff Widman jeff@jeffwidman.com