An Ansible Role that installs Elasticsearch on Windows.
Windows box should be prepared and configured to be accessible by Ansible.
http://docs.ansible.com/ansible/intro_windows.html#windows-system-prep
Available variables are listed below, along with default values (see defaults/main.yml
):
elasticsearch_version: "2.3.1"
Version of Elasticsearch to be installed.
elasticsearch_cluster_name: elasticsearch
Elasticsearch will join cluster with this name.
elasticsearch_network_host: 127.0.0.1
Network host to listen for incoming connections on. By default we only listen on the localhost interface. Change this to the IP address to listen on a specific interface, or 0.0.0.0 to listen on all interfaces.
elasticsearch_http_port: 9200
The port to listen for HTTP connections on.
None.
- hosts: servers
roles:
- { role: dohque.win_elasticsearch }
I will really appreciate any feedback and contributions. Feel free to contact me.
MIT
This role was created in 2016 by Ruslan Pilin.