https://github.com/jeffwidman/ansible-elasticsearch
Ansible role for installing/configuring Elasticsearch (includes optional Xenforo scripts for ES)
https://github.com/jeffwidman/ansible-elasticsearch
Last synced: over 1 year ago
JSON representation
Ansible role for installing/configuring Elasticsearch (includes optional Xenforo scripts for ES)
- Host: GitHub
- URL: https://github.com/jeffwidman/ansible-elasticsearch
- Owner: jeffwidman
- License: mit
- Created: 2015-09-28T22:52:16.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-26T08:38:27.000Z (over 10 years ago)
- Last Synced: 2025-02-07T12:31:45.947Z (over 1 year ago)
- Language: Groovy
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Elasticsearch Ansible role
=========
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.
Role Variables
--------------
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
Example Playbook
----------------
- hosts: servers
roles:
- { role: elasticsearch,
xenforo: True,
es_heap_size: 500m,
tags: ['es'] }
License
-------
MIT
Author Information
------------------
Jeff Widman jeff@jeffwidman.com