joshschmitter
37e93217fe
add ansible var for ES_TMPDIR env var ( #714 )
...
Elasticsearch requires its temp directory to be mounted as executable (see executable-jna-tmpdir). However, the CIS guidelines (e.g., CIS_Red_Hat_Enterprise_Linux_7_Benchmark_v2.1.1, 1.1.5) recommend mounting /tmp with noexec. Therefore, users of this ansible role may have reason to set elasticsearch's temp dir to a non-default location.
(The elasticsearch environment variable ES_TMPDIR gets set to /tmp by default. This PR preserves this default behavior.)
2020-09-02 09:10:28 +02:00
Tim Lieberman
a7e7618050
Introduce es_java_home variable to allow setting JAVA_HOME env var in defaults file.
2020-03-18 17:13:53 -07:00
Julien Mailleret
f1b79129f1
add proxy options to ES_JAVA_OPTS when defined with es_proxy_host
2019-12-18 11:57:02 +01:00
Julien Mailleret
36fe944048
update system config to current version provided by elasticsearch package
...
This is removing lot of options deprecated since 6.0 like ES_JVM_OPTIONS, CONF_DIR, DATA_DIR and LOG_DIR (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_packaging_changes.html )
2019-11-27 11:49:49 +01:00
Julien Mailleret
dc813aec3d
remove deprecated MAX_THREADS option
...
This option doesn't seem to exists anymore in elasticsearch. It's not present in current versions of system configuration provided by recent elasticsearch packages and there is no code using it inside elasticsearch.
2019-11-26 23:36:03 +01:00
Julien Mailleret
2cb020a4c2
Remove multi instances support ( #566 )
...
* remove multi instances support
The goal is to stop supporting installation of more than one node in the same host. This commit update the Ansible role README documentation and remove the multi instances kitchen test.
* remove systemd and init.d templates
As we no more need to support more than one node on the same host, we no more need to override init files provided by elasticsearch official packages.
* remove file script feature
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed )
* remove custom user and custom group
ES_USER and ES_GROUP settings are no longer supported (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_packaging_changes.html#_configuring_custom_user_and_group_for_package_is_no_longer_allowed )
* add upgrade procedure
* use same task for license activation with and without authentication
2019-06-03 14:18:09 +02:00
Shri Bodas
9115bb4dff
Adding 6.x support with Bootstrap user addition
2018-01-30 11:23:34 +01:00
Dale McDiarmid
0e2a0a5e99
Updated init, systemd, jvm.options and tests
2017-08-16 11:05:40 +01:00
Dale McDiarmid
b9c9fd109e
set api port in config test + doc clarification
2017-01-17 15:19:50 +00:00
Dale McDiarmid
914cb7867c
Move restart to main from handler
2017-01-17 14:42:21 +00:00
Dale McDiarmid
b6b9d19082
wait for startup added
2017-01-17 12:00:49 +00:00
Dale McDiarmid
fedccafb67
remove work dir for 5.x
2017-01-17 10:50:19 +00:00
Dale McDiarmid
c22ace11e0
Remove java opts in favour of es_jvm_options + allow max_map_count to be set. docs updated
2017-01-17 10:48:26 +00:00
Dale McDiarmid
4edc56f104
Move to memory_lock
2017-01-16 10:40:01 +00:00
Jakob Reiter
2a27c76bff
Merge pull request #206 from veger/fix_es5_issues
...
Initial PR for adding 5.x support. Please note, this is still in testing.
2016-12-07 01:16:45 +01:00
Maarten Bezemer
65238c74bd
Fix version_compare usage
2016-11-04 16:04:31 +01:00
Maarten Bezemer
ea8146c8dc
Fix setting ES_JAVA_OPTS
2016-11-03 16:02:21 +01:00
Maarten Bezemer
523270405e
Add support for Elasticsearch 5.x
...
* Use log4j2.properties instead of logging.yml
* Add jvm.options
* Use bootstrap.memory_lock instead of bootstrap.mlockall
* Get rid of work directory
* Executable does not accept `-D` anymore, replace with `-E` and `-p`
* Get rid of 5.x default (file)s
2016-11-03 15:41:42 +01:00
Thierno IB. BARRY
f3056c7a1d
manage ES_JAVA_OPTS in template
2016-10-07 15:09:48 +02:00
Dale McDiarmid
0fd1f34852
Fixes issue 70, Improves plugin management, Refactoring, Updates tests, Introduces multiple data dir support
2016-03-18 19:30:11 +00:00
Dale McDiarmid
86f2bd9a2d
2.0 Support + Plugin Directory Support + Supporting Tests + Defaults Change
2015-12-13 22:46:50 +00:00
Dale McDiarmid
0c7c338d6d
Minor change for template
2015-11-27 19:42:52 +00:00
Dale McDiarmid
145f345ec1
Fixes for serverspec
2015-11-27 19:39:47 +00:00
Dale McDiarmid
37447d1618
Templates everything + Systemd improvements+fixes + Notifications for restart + Idempotent checks for multiple runs
2015-11-27 18:12:59 +00:00