Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/role-elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ Role Variables
* *elasticsearch_fs_repo*: List of paths that should be registered as repository for snapshots (only filesystem supported so far). (default: none) Remember, that every node needs access to the same share under the same path.
* *elasticsearch_bootstrap_pw*: Bootstrap password for Elasticsearch (Default: `PleaseChangeMe`)
* *elasticsearch_disable_systemcallfilterchecks*: Disable system call filter checks. This has a security impact but is necessary on some systems. Please refer to the [docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/_system_call_filter_check.html) for details. (default: `false`)
* *ealsticsearch_http_publish_host*: (String) The network address for HTTP clients to contact the node using sniffing. Accepts an IP address, a hostname, or a special value. (default: `not set`)
* *ealsticsearch_http_publish_port*: (integer) The port of the HTTP publish address. Configure this setting only if you need the publish port to be different from http.port. (default: `not set`)
* *elasticsearch_http_publish_host*: (String) The network address for HTTP clients to contact the node using sniffing. Accepts an IP address, a hostname, or a special value. (default: `not set`)
* *elasticsearch_http_publish_port*: (integer) The port of the HTTP publish address. Configure this setting only if you need the publish port to be different from http.port. (default: `not set`)
* *elasticsearch_pamlimits*: Set pam_limits neccessary for Elasticsearch. (Default: `true`)
* *elasticsearch_check_calculation*: End play in checks (Default: `false`)

Expand Down
8 changes: 4 additions & 4 deletions roles/elasticsearch/templates/elasticsearch.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ path.data: {{ elasticsearch_datapath }}
path.logs: {{ elasticsearch_logpath }}
cluster.name: "{{ elasticsearch_clustername }}"
network.host: ["_local_","_site_"]
{% if ealsticsearch_http_publish_host is defined %}
http.publish_host: "{{ ealsticsearch_http_publish_host }}"
{% if elasticsearch_http_publish_host is defined %}
http.publish_host: "{{ elasticsearch_http_publish_host }}"
{% endif %}
{% if ealsticsearch_http_publish_port is defined %}
http.publish_port: {{ ealsticsearch_http_publish_port }}
{% if elasticsearch_http_publish_port is defined %}
http.publish_port: {{ elasticsearch_http_publish_port }}
{% endif %}

{% if elasticsearch_node_types is defined %}
Expand Down