Commit graph

27 commits

Author SHA1 Message Date
Ludovic Petetin
b73cd06c14 Set limitMEMLOCK for OS using systemd 2019-07-22 12:28:40 +02: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
Julien Mailleret
a879b74def
[xpack] use elasticsearch default xpack features (#560)
- Stop forcing es_xpack_features variable in order to let elasticsearch install default features described in http://localhost:9200/_xpack
- Change xpack test scope to be able to test default xpack install
  - xpack scenario will test xpack install with default features
  - xpack upgrade scenario will fully test security feature
  - oss-to-xpack-upgrade will test installing only other specific features
- Cleanup some duplicate serverspec tests
- Remove `system_key`feature (deprecated in 5.6 and removed in 6.0 - [Breaking Changes 6.0.0](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-6.0.0-xes.html))
- Cleanup some ansible code (especially in `when` conditions)
2019-05-29 12:10:11 +02:00
Michel Weitbrecht
124775740a Fix package download URL and set ES_PATH_CONF
The old URL yields a 404. ES_PATH_CONF is also needed when installing
elasticsearch using the downloaded package.
2018-12-28 15:31:11 +01:00
Michael Russell
bbc5e0603d
Abstract 6.3 changes into a separate task to reduce all of the jinja one
liner complexity

Set ES_PATH_CONF when installing so upgrading from 6.2 to 6.3 works as
expected
2018-06-14 14:44:31 +02:00
Michael Russell
715bd8591e
Use final 6.3.0 release instead of snapshot 2018-06-13 21:34:32 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +02:00
Dale McDiarmid
e9a6f74d09 Fix for issue #369 2017-09-19 20:11:09 +01:00
Dale McDiarmid
197cf05a0e Shield to Security and other X-Pack clear up 2017-01-11 13:02:23 +00:00
Dale McDiarmid
84913049c5 Role is 5.x only so java 8 2017-01-10 16:45:40 +00:00
Dale McDiarmid
d94808d7e2 Merge remote-tracking branch 'elastic/master'
# Conflicts:
#	meta/main.yml
2016-08-30 11:58:36 +01:00
Dale McDiarmid
57fa9e432b Support for all xpack features through generic install + improved tests 2016-07-24 15:25:32 +01:00
Marji Cermak
d9d8810b62 enable specify java package name
If es_java variable is set, it will use that as the java package name
instead of the default package.
2016-06-05 15:43:09 +10:00
Dale McDiarmid
7b620eadf9 Issue 40 + refactoring for better layout and more efficient restart process 2016-01-18 14:37:15 +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
Dale McDiarmid
bdb9ee6a4a Support for scripts 2015-11-25 17:13:45 +00:00
Dale McDiarmid
d25fc792b6 Correct handling of map in template 2015-11-25 15:28:09 +00:00
Dale McDiarmid
d34d5e6103 Changes to support Hash Map for Config 2015-11-24 17:32:36 +00:00
Dale McDiarmid
d19297adda Support for configuration per node and multiple nodes per server 2015-10-22 19:09:53 +01:00
Jakob Reiter
441d3238cf Removed java list functionality, Closes #22. Simplified whole java task. 2015-07-31 11:34:09 +02:00
Jakob Reiter
3dc934b7b4 Changed var name to es_package_url and removed unneeded url's 2015-07-27 21:54:25 +02:00
Jakob Reiter
e9a2fa5014 Added funktionality to download and install a .deb file instead of using
the apt repository.
2015-07-15 20:27:07 +02:00
Jakob Reiter
448094608b Changed openjdk-7-jre to openjdk-7-jre-headless to avoid unneeded X dependencies. Closes #15 2015-07-09 16:05:55 +02:00
Jakob Reiter
c27745c108 Debian: Switched from oracle Java to openjdk 2015-07-07 11:30:00 +02:00
Robin Clarke
3aecd58b59 RedHat and Debian complete 2015-05-13 09:45:55 +02:00
Robin Clarke
4b8550f6ef Elasticsearch install on Debian complete 2015-05-12 14:24:31 +02:00
Robin Clarke
f504a1a5e9 Install Java on Debian 2015-05-11 16:51:33 +02:00